Class LogEvent
This class represents a logging event in the system.
Implements
Inherited Members
Namespace: Akka.Event
Assembly: Akka.dll
Syntax
public abstract class LogEvent : INoSerializationVerificationNeeded
Constructors
| Improve this Doc View SourceLogEvent()
Initializes a new instance of the LogEvent class.
Declaration
protected LogEvent()
Properties
| Improve this Doc View SourceCause
The exception that caused the log event. Can be null
Declaration
public Exception Cause { get; protected set; }
Property Value
Type | Description |
---|---|
Exception |
LogClass
The type that generated this event.
Declaration
public Type LogClass { get; protected set; }
Property Value
Type | Description |
---|---|
Type |
LogSource
The source that generated this event.
Declaration
public string LogSource { get; protected set; }
Property Value
Type | Description |
---|---|
String |
Message
The message associated with this event.
Declaration
public object Message { get; protected set; }
Property Value
Type | Description |
---|---|
Object |
Thread
The thread where this event occurred.
Declaration
public Thread Thread { get; }
Property Value
Type | Description |
---|---|
Thread |
Timestamp
The timestamp that this event occurred.
Declaration
public DateTime Timestamp { get; }
Property Value
Type | Description |
---|---|
DateTime |
Methods
| Improve this Doc View SourceLogLevel()
Retrieves the LogLevel used to classify this event.
Declaration
public abstract LogLevel LogLevel()
Returns
Type | Description |
---|---|
LogLevel | The LogLevel used to classify this event. |
ToString()
Returns a String that represents this LogEvent.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A String that represents this LogEvent. |