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

OpenTelemetry.Internal.SelfDiagnosticsLogEntry

A fully-captured self-diagnostics log entry.
namespace OpenTelemetry.Internal { internal readonly struct SelfDiagnosticsLogEntry { public DateTime TimestampUtc { get; } public long ThreadId { get; } public LogLevel Level { get; } public EventId EventId { get; } public string Message { get; } public Exception Exception { get; } public ActivityContext? ActivityContext { get; } public SelfDiagnosticsLogEntry(DateTime timestampUtc, long threadId, LogLevel level, EventId eventId, string message, Exception exception, ActivityContext? activityContext); public static SelfDiagnosticsLogEntry Capture(LogLevel level, EventId eventId, string message, Exception exception); } }