<PackageReference Include="OpenTelemetry.Api" Version="1.11.2" />

OpenTelemetry.Logs.Logger

abstract class Logger
Logger is the class responsible for creating log records.
namespace OpenTelemetry.Logs { internal abstract class Logger { public string Name { get; } public string Version { get; } protected Logger(string name); public void EmitLog(ref LogRecordData data); public abstract void EmitLog(LogRecordData data, LogRecordAttributeList attributes); } }