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