C# Class 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.
Inheritance: ILoggerFacade
ファイルを表示 Open project: PrismLibrary/Prism-Samples-Wpf Class Usage Examples

Public Methods

Method Description
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.

Method Details

Log() public method

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.
return void

ReplaySavedLogs() public method

Replays the saved logs if the Callback has been set.
public ReplaySavedLogs ( ) : void
return void