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.
Show file Open project: jurney/P4Backup

Public Methods

Method 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 method

public static AddHandler ( ILogHandler handler ) : void
handler ILogHandler
return void

BeginBatch() public static method

public static BeginBatch ( ) : void
return void

EndBatch() public static method

public static EndBatch ( ) : void
return void

EndBatch() public static method

public static EndBatch ( int &outputCount, int &warningCount, int &errorCount ) : void
outputCount int
warningCount int
errorCount int
return void

Error() public static method

Threadsafe
public static Error ( string format ) : void
format string
return void

GetHandlers() public static method

public static GetHandlers ( Type handlerType ) : List
handlerType System.Type
return List

Output() public static method

Threadsafe
public static Output ( string format ) : void
format string
return void

Warning() public static method

Threadsafe
public static Warning ( string format ) : void
format string
return void