Class Error
This class represents a Error log event.
Implements
Inherited Members
Namespace: Akka.Event
Assembly: Akka.dll
Syntax
public class Error : LogEvent, INoSerializationVerificationNeeded
Constructors
| Improve this Doc View SourceError(Exception, String, Type, Object)
Initializes a new instance of the Error class.
Declaration
public Error(Exception cause, string logSource, Type logClass, object message)
Parameters
Type | Name | Description |
---|---|---|
Exception | cause | The exception that caused the log event. |
String | logSource | The source that generated the log event. |
Type | logClass | The type of logger used to log the event. |
Object | message | The message that is being logged. |
Methods
| Improve this Doc View SourceLogLevel()
Retrieves the LogLevel used to classify this event.
Declaration
public override LogLevel LogLevel()
Returns
Type | Description |
---|---|
LogLevel | The LogLevel used to classify this event. |