C# Class Akka.Event.BusLogging

A logging adapter implementation publishing log events to the event stream.
Inheritance: LoggingAdapterBase
Mostra file Open project: rogeralsing/akka.net Class Usage Examples

Public Methods

Method Description
BusLogging ( LoggingBus bus, string logSource, Type logClass, ILogMessageFormatter logMessageFormatter ) : System

Initializes a new instance of the BusLogging class.

Protected Methods

Method Description
NotifyDebug ( object message ) : void

Publishes the the debug message onto the LoggingBus.

NotifyError ( Exception cause, object message ) : void

Publishes the error message and exception onto the LoggingBus.

NotifyError ( object message ) : void

Publishes the error message onto the LoggingBus.

NotifyInfo ( object message ) : void

Publishes the the info message onto the LoggingBus.

NotifyWarning ( object message ) : void

Publishes the the warning message onto the LoggingBus.

Method Details

BusLogging() public method

Initializes a new instance of the BusLogging class.
public BusLogging ( LoggingBus bus, string logSource, Type logClass, ILogMessageFormatter logMessageFormatter ) : System
bus LoggingBus The logging bus instance that messages will be published to.
logSource string The log source.
logClass System.Type The log class.
logMessageFormatter ILogMessageFormatter The log message formatter.
return System

NotifyDebug() protected method

Publishes the the debug message onto the LoggingBus.
protected NotifyDebug ( object message ) : void
message object The debug message.
return void

NotifyError() protected method

Publishes the error message and exception onto the LoggingBus.
protected NotifyError ( Exception cause, object message ) : void
cause System.Exception The exception that caused this error.
message object The error message.
return void

NotifyError() protected method

Publishes the error message onto the LoggingBus.
protected NotifyError ( object message ) : void
message object The error message.
return void

NotifyInfo() protected method

Publishes the the info message onto the LoggingBus.
protected NotifyInfo ( object message ) : void
message object The info message.
return void

NotifyWarning() protected method

Publishes the the warning message onto the LoggingBus.
protected NotifyWarning ( object message ) : void
message object The warning message.
return void