OpenTelemetry.Logs.OpenTelemetryLogger sealed class OpenTelemetryLogger : ILogger Documentation Code public IDisposable BeginScope<TState>(TState state) public bool IsEnabled(LogLevel logLevel) public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)