C# Класс ModularityWithNinject.Desktop.CallbackLogger

A logger that holds on to log entries until a callback delegate is set, then plays back log entries and sends new log entries.
Наследование: ILoggerFacade
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Log ( string message, Category category, Priority priority ) : void

Write a new log entry with the specified category and priority.

ReplaySavedLogs ( ) : void

Replays the saved logs if the Callback has been set.

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

Log() публичный Метод

Write a new log entry with the specified category and priority.
public Log ( string message, Category category, Priority priority ) : void
message string Message body to log.
category Category Category of the entry.
priority Priority The priority of the entry.
Результат void

ReplaySavedLogs() публичный Метод

Replays the saved logs if the Callback has been set.
public ReplaySavedLogs ( ) : void
Результат void