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
| Edit this page 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
| Edit this page 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. |