Class LogEntry
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Logging.Viewer
Assembly: Umbraco.Core.dll
Syntax
public class LogEntry : ILogEntry
Properties
View SourceException
Gets or sets an exception associated with the log event, or null.
Declaration
public string Exception { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Level
Gets or sets the level of the log event.
Declaration
public LogLevel Level { get; set; }
Property Value
Type | Description |
---|---|
LogLevel |
MessageTemplateText
Gets or sets the message template describing the log event.
Declaration
public string MessageTemplateText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Properties
Gets or sets the properties associated with the log event.
Declaration
public IReadOnlyDictionary<string, string> Properties { get; set; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<System.String, System.String> |
RenderedMessage
Gets or sets the message template filled with the log event properties.
Declaration
public string RenderedMessage { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Timestamp
Gets or sets the time at which the log event occurred.
Declaration
public DateTimeOffset Timestamp { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset |