Class LogEvent
Log data
Inherited Members
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 |