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

OpenTelemetry.Internal.SelfDiagnosticsLogger

sealed class SelfDiagnosticsLogger : IDisposable, ILogger
Captures SDK self-diagnostics and serializes sink configuration, writes, and disposal through SelfDiagnosticsSinkDispatcher.
namespace OpenTelemetry.Internal { internal sealed class SelfDiagnosticsLogger : IDisposable, ILogger { public bool IsEnabled(LogLevel logLevel); public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter); public IDisposable BeginScope<TState>(TState state); public void Dispose(); } }