Class LogEvent
Object that holds the information associated to a single log
Inherited Members
Namespace: Unity.Cloud.Common
Assembly: Unity.Cloud.Common.dll
Syntax
public class LogEvent
Properties
Exception
The exception to log.
Declaration
public Exception Exception { get; }
Property Value
Type | Description |
---|---|
Exception |
Level
The LogLevel.
Declaration
public LogLevel Level { get; }
Property Value
Type | Description |
---|---|
LogLevel |
LoggerName
The logger's name.
Declaration
public string LoggerName { get; }
Property Value
Type | Description |
---|---|
string |
Message
The log message.
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
string |
MessageArgs
The log message args.
Declaration
public object[] MessageArgs { get; }
Property Value
Type | Description |
---|---|
object[] |
Properties
The properties to log.
Declaration
public Dictionary<string, object> Properties { get; }
Property Value
Type | Description |
---|---|
Dictionary<string, object> |
Timestamp
The timestamp for the log.
Declaration
public DateTime Timestamp { get; }
Property Value
Type | Description |
---|---|
DateTime |