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
Afficher le fichier Open project: PrismLibrary/Prism-Samples-Wpf Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
Résultat void

ReplaySavedLogs() public méthode

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