Class Warning
This class represents a Warning log event.
Implements
Inherited Members
Namespace: Akka.Event
Assembly: Akka.dll
Syntax
public class Warning : LogEvent, INoSerializationVerificationNeeded
Constructors
| Improve this Doc View SourceWarning(Exception, String, Type, Object)
Initializes a new instance of the Warning class.
Declaration
public Warning(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. |
Warning(String, Type, Object)
Initializes a new instance of the Warning class.
Declaration
public Warning(string logSource, Type logClass, object message)
Parameters
Type | Name | Description |
---|---|---|
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. |