Search Results for

    Show / Hide Table of Contents
    View Source

    Class LogMessage

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Logging.Viewer
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class LogMessage

    Properties

    View Source

    Exception

    An exception associated with the log event, or null.

    Declaration
    public string Exception { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Level

    The level of the event.

    Declaration
    public LogEventLevel Level { get; set; }
    Property Value
    Type Description
    LogEventLevel
    View Source

    MessageTemplateText

    The message template describing the log event.

    Declaration
    public string MessageTemplateText { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    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>>
    View Source

    RenderedMessage

    The message template filled with the log event properties.

    Declaration
    public string RenderedMessage { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Timestamp

    The time at which the log event occurred.

    Declaration
    public DateTimeOffset Timestamp { get; set; }
    Property Value
    Type Description
    DateTimeOffset
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • Exception
      • Level
      • MessageTemplateText
      • Properties
      • RenderedMessage
      • Timestamp
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX