Search Results for

    Show / Hide Table of Contents

    Class LogEventInfo

    Log event information.

    Inheritance
    System.Object
    Info
    LogEventInfo
    Inherited Members
    Info.Id
    Info.ProcessBoolean(Boolean, Boolean)
    Info.ProcessShort(Int16, Int16)
    Info.ProcessInteger(Int32, Int32)
    Info.ProcessLong(Int64, Int64)
    Info.ProcessFloat(Single, Single)
    Info.ProcessDouble(Double, Double)
    Info.ProcessString(String, String)
    Info.ProcessBooleanArray(Boolean[], Boolean[])
    Info.ProcessShortArray(Int16[], Int16[])
    Info.ProcessIntegerArray(Int32[], Int32[])
    Info.ProcessLongArray(Int64[], Int64[])
    Info.ProcessFloatArray(Single[], Single[])
    Info.ProcessFloatArray(Double[], Double[])
    Info.ProcessObject<T>(T, T)
    Info.ProcessArray<T>(T[], T[])
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class LogEventInfo : Info

    Properties

    Exception

    Gets or sets the log event exception message.

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

    Level

    Gets or sets the log event level.

    Declaration
    public string Level { get; }
    Property Value
    Type Description
    System.String

    Message

    Gets or sets the log event message.

    Declaration
    public string Message { get; set; }
    Property Value
    Type Description
    System.String

    Scope

    Gets or sets the log event scope.

    Declaration
    public string Scope { get; set; }
    Property Value
    Type Description
    System.String

    Tag

    Gets or sets the log event tag.

    Declaration
    public string Tag { get; set; }
    Property Value
    Type Description
    System.String

    ThreadId

    Gets or sets the log event thread ID.

    Declaration
    public long ThreadId { get; set; }
    Property Value
    Type Description
    System.Int64

    Methods

    DeserializeProperties(String, String)

    Deserializes the properties.

    Declaration
    protected override void DeserializeProperties(string key, string valueJson)
    Parameters
    Type Name Description
    System.String key

    The key.

    System.String valueJson

    The value in JSON format.

    Overrides
    Info.DeserializeProperties(String, String)

    FromJson(String)

    Deserializes Json to a LogEventInfo.

    Declaration
    public static LogEventInfo FromJson(string logEventInfoJson)
    Parameters
    Type Name Description
    System.String logEventInfoJson

    The serialized Json.

    Returns
    Type Description
    LogEventInfo

    The deserialized LogEventInfo.

    SerializeProperties(Dictionary<String, String>)

    Serializes the properties.

    Declaration
    protected override void SerializeProperties(Dictionary<string, string> jsonObject)
    Parameters
    Type Name Description
    Dictionary<System.String, System.String> jsonObject

    The JSON object.

    Overrides
    Info.SerializeProperties(Dictionary<String, String>)

    ToJson()

    Serializes this instance to Json.

    Declaration
    public string ToJson()
    Returns
    Type Description
    System.String

    ToJson(LogEventInfo)

    Serializes an instance to Json.

    Declaration
    public static string ToJson(LogEventInfo logEventInfo)
    Parameters
    Type Name Description
    LogEventInfo logEventInfo

    The instance to serialize.

    Returns
    Type Description
    System.String

    Serialized Json.

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0