csharp
public record class LogRecordOne log line, as it sits in the ring.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (8)
public DateTimeOffset TimestampWhen it was written.
public LogLevel LevelIts severity.
public EventId EventIdThe stable numeric id — see docs/manual/log-events.md.
public string CategoryThe logger's category, which is the type that logged it.
public string MessageThe formatted message.
public Exception? ExceptionThe exception, if one was attached.
public int ThreadIdWhich managed thread wrote it.
public int SuppressedCountHow many identical records a LogRateLimiter dropped since the last one that got through — the N in … (repeated N times), and zero when nothing was suppressed or no limiter is attached.
Methods (1)
public LogRecord(DateTimeOffset Timestamp, LogLevel Level, EventId EventId, string Category, string Message, Exception? Exception, int ThreadId, int SuppressedCount = 0)One log line, as it sits in the ring.
Used by (17)
- ConsoleSinkVixen.Core.Diagnostics
- DiagnosticsTestsVixen.Core.Diagnostics.Tests
- EventSourceSinkVixen.Core.Diagnostics
- LogOverlayVixen.Engine
- LogRecordSinkVixen.Core.Diagnostics
- LogTextVixen.Core.Diagnostics
- PlatformSinkVixen.Core.Diagnostics
- RemoteSinkVixen.Core.Diagnostics
- RingBufferSinkVixen.Core.Diagnostics
- SinkTestsVixen.Core.Diagnostics.Tests
- ConsoleModelVixen.Editor.Ui
- ConsoleRowVixen.Editor.Ui
- ConsoleTestsVixen.Editor.Ui.Tests
- ConsoleViewVixen.Editor.Ui
- ConsoleViewTestsVixen.Editor.Ui.Tests
- EditorApplicationVixen.Editor.App
- StartupSceneTestsVixen.App.Tests