using System; using System.Collections.Generic; namespace ZB.MOM.WW.CDBBC.E2E.Benchmark.Tests; /// /// Represents a typical Serilog log entry. /// public sealed class SerilogLogEntry { /// /// Timestamp when the log event was written. /// public DateTimeOffset Timestamp { get; set; } /// /// Log level (for example: Information, Warning, Error). /// public string Level { get; set; } = "Information"; /// /// Name of the logger/category (typically the class name). /// public string? LoggerName { get; set; } /// /// Correlation context identifier used to tie log entries to a request. /// public string? ContextId { get; set; } /// /// Original message template used by Serilog. /// public string MessageTemplate { get; set; } = string.Empty; /// /// Fully rendered message text. /// public string? RenderedMessage { get; set; } /// /// Exception details if one was logged. /// public string? Exception { get; set; } /// /// Structured context values captured from Serilog context. /// public Dictionary ContextProperties { get; set; } = new(StringComparer.Ordinal); }