Vixen
02b45cc4
csharp
public record class LogRecord

One 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 Timestamp

    When it was written.

  • public LogLevel Level

    Its severity.

  • public EventId EventId

    The stable numeric id — see docs/manual/log-events.md.

  • public string Category

    The logger's category, which is the type that logged it.

  • public string Message

    The formatted message.

  • public Exception? Exception

    The exception, if one was attached.

  • public int ThreadId

    Which managed thread wrote it.

  • public int SuppressedCount

    How 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