C# Class Akka.Event.BusLogging

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

Méthodes publiques

Méthode Description
BusLogging ( LoggingBus bus, string logSource, Type logClass, ILogMessageFormatter logMessageFormatter ) : System

Initializes a new instance of the BusLogging class.

Méthodes protégées

Méthode 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 méthode

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.
Résultat System

NotifyDebug() protected méthode

Publishes the the debug message onto the LoggingBus.
protected NotifyDebug ( object message ) : void
message object The debug message.
Résultat void

NotifyError() protected méthode

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.
Résultat void

NotifyError() protected méthode

Publishes the error message onto the LoggingBus.
protected NotifyError ( object message ) : void
message object The error message.
Résultat void

NotifyInfo() protected méthode

Publishes the the info message onto the LoggingBus.
protected NotifyInfo ( object message ) : void
message object The info message.
Résultat void

NotifyWarning() protected méthode

Publishes the the warning message onto the LoggingBus.
protected NotifyWarning ( object message ) : void
message object The warning message.
Résultat void