Class LogMessage
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Logging.Viewer
Assembly: Umbraco.Infrastructure.dll
Syntax
public class LogMessage
Properties
View SourceException
An exception associated with the log event, or null.
Declaration
public string Exception { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Level
The level of the event.
Declaration
public LogEventLevel Level { get; set; }
Property Value
Type | Description |
---|---|
LogEventLevel |
MessageTemplateText
The message template describing the log event.
Declaration
public string MessageTemplateText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Properties
Properties associated with the log event, including those presented in Serilog.Events.LogEvent.MessageTemplate.
Declaration
public IReadOnlyDictionary<string, LogEventPropertyValue>? Properties { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<IReadOnlyDictionary<System.String, LogEventPropertyValue>> |
RenderedMessage
The message template filled with the log event properties.
Declaration
public string RenderedMessage { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Timestamp
The time at which the log event occurred.
Declaration
public DateTimeOffset Timestamp { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset |