<PackageReference Include="OpenTelemetry.Api" Version="1.14.0-rc.1" />

OpenTelemetry.Logs.Logger

public abstract class Logger
Logger is the class responsible for creating log records.
namespace OpenTelemetry.Logs { public 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); } }