namespace Umbraco.Cms.Core.Logging.Viewer;
public class LogEntry : ILogEntry
{
///
/// Gets or sets the time at which the log event occurred.
///
public DateTimeOffset Timestamp { get; set; }
///
/// Gets or sets the level of the log event.
///
public LogLevel Level { get; set; }
///
/// Gets or sets the message template describing the log event.
///
public string? MessageTemplateText { get; set; }
///
/// Gets or sets the message template filled with the log event properties.
///
public string? RenderedMessage { get; set; }
///
/// Gets or sets the properties associated with the log event.
///
public IReadOnlyDictionary Properties { get; set; } = new Dictionary();
///
/// Gets or sets an exception associated with the log event, or null.
///
public string? Exception { get; set; }
}