Show / Hide Table of Contents

    Class LogEvent

    Log data

    Inheritance
    Object
    LogEvent
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.Graph.Communications.Common.Telemetry
    Assembly: Microsoft.Graph.Communications.Common.dll
    Syntax
    public class LogEvent

    Constructors

    LogEvent()

    Declaration
    public LogEvent()

    Properties

    CallerInfo

    Gets or sets the caller information

    Declaration
    public CallerInfo CallerInfo { get; set; }
    Property Value
    Type Description
    CallerInfo

    CallerInfoString

    Gets the caller information string.

    Declaration
    public string CallerInfoString { get; }
    Property Value
    Type Description
    String

    Component

    Gets or sets the component in which the log is created.

    Declaration
    public string Component { get; set; }
    Property Value
    Type Description
    String

    CorrelationId

    Gets or sets the correlation id

    Declaration
    public Guid CorrelationId { get; set; }
    Property Value
    Type Description
    Guid

    EventType

    Gets or sets the type of the event.

    Declaration
    public LogEventType EventType { get; set; }
    Property Value
    Type Description
    LogEventType

    Level

    Gets or sets the trace level of the event.

    Declaration
    public TraceLevel Level { get; set; }
    Property Value
    Type Description
    TraceLevel

    LogicalThreadId

    Gets or sets the logical thread identifier.

    Declaration
    public uint LogicalThreadId { get; set; }
    Property Value
    Type Description
    UInt32

    ManagedThreadId

    Gets or sets the thread ID.

    Declaration
    public int ManagedThreadId { get; set; }
    Property Value
    Type Description
    Int32

    Message

    Gets or sets the Description of the event.

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

    ProcessId

    Gets or sets the process ID.

    Declaration
    public int ProcessId { get; set; }
    Property Value
    Type Description
    Int32

    Properties

    Gets or sets the Custom properties for the event.

    Declaration
    public IReadOnlyDictionary<Type, object> Properties { get; set; }
    Property Value
    Type Description
    IReadOnlyDictionary<Type, Object>

    PropertiesString

    Gets the custom properties in string format.

    Declaration
    public string PropertiesString { get; }
    Property Value
    Type Description
    String

    RequestId

    Gets or sets the request identifier.

    Declaration
    public Guid RequestId { get; set; }
    Property Value
    Type Description
    Guid

    Timestamp

    Gets or sets the Timestamp of the event.

    Declaration
    public DateTime Timestamp { get; set; }
    Property Value
    Type Description
    DateTime

    Extension Methods

    AdditionalDataExtensions.SetInAdditionalData(Object, String, Object)
    Extensions.Pin(Object)
    Extensions.ChangeType(Object, Type)
    Extensions.ChangeType<T>(Object)
    Extensions.TryDispose(Object, IGraphLogger)
    ReflectionUtils.GetPropertyUsingReflection(Object, String)
    ReflectionUtils.SetPropertyUsingReflection(Object, String, Object)
    Validator.IsNull(Object, String, String)
    Validator.NotNull<T>(T, String, String)
    Validator.Equals<T>(T, T, String, String)
    Validator.Equals<T, TE>(T, T, String)
    Validator.NotEquals<T>(T, T, String, String)
    LoggingExtensions.GetTypedProperties(LogEvent, Type)
    LoggingExtensions.GetTypedProperty<T>(LogEvent)
    Back to top Copyright (c) Microsoft Corporation. All rights reserved.