C# Класс 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.
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

AddHandler() публичный статический Метод

public static AddHandler ( ILogHandler handler ) : void
handler ILogHandler
Результат void

BeginBatch() публичный статический Метод

public static BeginBatch ( ) : void
Результат void

EndBatch() публичный статический Метод

public static EndBatch ( ) : void
Результат void

EndBatch() публичный статический Метод

public static EndBatch ( int &outputCount, int &warningCount, int &errorCount ) : void
outputCount int
warningCount int
errorCount int
Результат void

Error() публичный статический Метод

Threadsafe
public static Error ( string format ) : void
format string
Результат void

GetHandlers() публичный статический Метод

public static GetHandlers ( Type handlerType ) : List
handlerType System.Type
Результат List

Output() публичный статический Метод

Threadsafe
public static Output ( string format ) : void
format string
Результат void

Warning() публичный статический Метод

Threadsafe
public static Warning ( string format ) : void
format string
Результат void