C# Class Akka.Event.LoggingAdapterBase

Represents a base logging adapter implementation which can be used by logging adapter implementations.
Inheritance: ILoggingAdapter
Afficher le fichier Open project: rogeralsing/akka.net

Méthodes publiques

Méthode Description
Debug ( string format ) : void
Error ( Exception cause, string format ) : void
Error ( string format ) : void
Info ( string format ) : void
IsEnabled ( LogLevel logLevel ) : bool

Checks the logging adapter to see if the supplied logLevel is enabled.

Log ( LogLevel logLevel, string format ) : void
Warn ( string format ) : void
Warning ( string format ) : void

Méthodes protégées

Méthode Description
LoggingAdapterBase ( ILogMessageFormatter logMessageFormatter ) : System

Creates an instance of the LoggingAdapterBase.

NotifyDebug ( object message ) : void
NotifyError ( Exception cause, object message ) : void
NotifyError ( object message ) : void
NotifyInfo ( object message ) : void
NotifyLog ( LogLevel logLevel, object message ) : void

Handles logging a log event for a particular level if that level is enabled.

NotifyWarning ( object message ) : void

Method Details

Debug() public méthode

public Debug ( string format ) : void
format string
Résultat void

Error() public méthode

public Error ( Exception cause, string format ) : void
cause System.Exception
format string
Résultat void

Error() public méthode

public Error ( string format ) : void
format string
Résultat void

Info() public méthode

public Info ( string format ) : void
format string
Résultat void

IsEnabled() public méthode

Checks the logging adapter to see if the supplied logLevel is enabled.
This exception is thrown when the supplied log level is unknown.
public IsEnabled ( LogLevel logLevel ) : bool
logLevel LogLevel The log level to check if it is enabled in this logging adapter.
Résultat bool

Log() public méthode

public Log ( LogLevel logLevel, string format ) : void
logLevel LogLevel
format string
Résultat void

LoggingAdapterBase() protected méthode

Creates an instance of the LoggingAdapterBase.
This exception is thrown when the supplied message formatter is null.
protected LoggingAdapterBase ( ILogMessageFormatter logMessageFormatter ) : System
logMessageFormatter ILogMessageFormatter The log message formatter used by this logging adapter.
Résultat System

NotifyDebug() protected abstract méthode

protected abstract NotifyDebug ( object message ) : void
message object
Résultat void

NotifyError() protected abstract méthode

protected abstract NotifyError ( Exception cause, object message ) : void
cause System.Exception
message object
Résultat void

NotifyError() protected abstract méthode

protected abstract NotifyError ( object message ) : void
message object
Résultat void

NotifyInfo() protected abstract méthode

protected abstract NotifyInfo ( object message ) : void
message object
Résultat void

NotifyLog() protected méthode

Handles logging a log event for a particular level if that level is enabled.
This exception is thrown when the supplied log level is unknown.
protected NotifyLog ( LogLevel logLevel, object message ) : void
logLevel LogLevel The log level of the log event.
message object The log message of the log event.
Résultat void

NotifyWarning() protected abstract méthode

protected abstract NotifyWarning ( object message ) : void
message object
Résultat void

Warn() public méthode

public Warn ( string format ) : void
format string
Résultat void

Warning() public méthode

public Warning ( string format ) : void
format string
Résultat void