<PackageReference Include="OpenTelemetry" Version="1.20.0" />

OpenTelemetry.Internal.SelfDiagnosticsLogger

sealed class SelfDiagnosticsLogger : IDisposable, ILogger
Captures SDK self-diagnostics and serializes sink configuration, writes, and disposal through SelfDiagnosticsSinkDispatcher.
public IDisposable BeginScope<TState>(TState state)

public void Dispose()

public bool IsEnabled(LogLevel logLevel)

public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)