C# Class RelicLogging.Log

Threading: Only the actual logging functions are thread-safe. That is, only Error, Output and Warning are thread safe, everythign else is single-thread only.
Afficher le fichier Open project: jurney/P4Backup

Méthodes publiques

Méthode Description
AddHandler ( ILogHandler handler ) : void
BeginBatch ( ) : void
EndBatch ( ) : void
EndBatch ( int &outputCount, int &warningCount, int &errorCount ) : void
Error ( string format ) : void

Threadsafe

GetHandlers ( Type handlerType ) : List
Output ( string format ) : void

Threadsafe

Warning ( string format ) : void

Threadsafe

Method Details

AddHandler() public static méthode

public static AddHandler ( ILogHandler handler ) : void
handler ILogHandler
Résultat void

BeginBatch() public static méthode

public static BeginBatch ( ) : void
Résultat void

EndBatch() public static méthode

public static EndBatch ( ) : void
Résultat void

EndBatch() public static méthode

public static EndBatch ( int &outputCount, int &warningCount, int &errorCount ) : void
outputCount int
warningCount int
errorCount int
Résultat void

Error() public static méthode

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

GetHandlers() public static méthode

public static GetHandlers ( Type handlerType ) : List
handlerType System.Type
Résultat List

Output() public static méthode

Threadsafe
public static Output ( string format ) : void
format string
Résultat void

Warning() public static méthode

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