C# Class SevenDigital.Messaging.Logging.Log

Messaging based logger
Afficher le fichier Open project: i-e-b/SevenDigital.Messaging

Méthodes publiques

Méthode Description
Instance ( ) : Log

Active instance of log

OnLogEvent ( MessagingLogEventArgs e ) : void

Fire a log event

RegisterAction ( Action action ) : void

Register an action for the log event

Shutdown ( ) : void

Remove all registered actions

Warning ( string message ) : void

Log a message to the warning queue

Method Details

Instance() public static méthode

Active instance of log
public static Instance ( ) : Log
Résultat Log

OnLogEvent() public méthode

Fire a log event
public OnLogEvent ( MessagingLogEventArgs e ) : void
e MessagingLogEventArgs
Résultat void

RegisterAction() public méthode

Register an action for the log event
public RegisterAction ( Action action ) : void
action Action
Résultat void

Shutdown() public méthode

Remove all registered actions
public Shutdown ( ) : void
Résultat void

Warning() public static méthode

Log a message to the warning queue
public static Warning ( string message ) : void
message string
Résultat void