OpenTelemetry.Internal.SelfDiagnosticsLogEntry
struct 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);
}
}