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
파일 보기 프로젝트 열기: PrismLibrary/Prism-Samples-Wpf 1 사용 예제들

공개 메소드들

메소드 설명
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