Show / Hide Table of Contents

    Class LogEvent

    Encapsulates the log level, id and message.

    Inheritance
    object
    LogEvent
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Silverback.Diagnostics
    Assembly: Silverback.Core.dll
    Syntax
    public class LogEvent

    Constructors

    | Improve this doc View source

    LogEvent(LogLevel, EventId, string)

    Initializes a new instance of the LogEvent class.

    Declaration
    public LogEvent(LogLevel level, EventId eventId, string message)
    Parameters
    Type Name Description
    LogLevel level

    The default LogLevel.

    EventId eventId

    The EventId.

    string message

    The logged message.

    Properties

    | Improve this doc View source

    EventId

    Gets the EventId.

    Declaration
    public EventId EventId { get; }
    Property Value
    Type Description
    EventId
    | Improve this doc View source

    Level

    Gets the default LogLevel.

    Declaration
    public LogLevel Level { get; }
    Property Value
    Type Description
    LogLevel
    | Improve this doc View source

    Message

    Gets the logged message.

    Declaration
    public string Message { get; }
    Property Value
    Type Description
    string
    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini