C# 클래스 CK.Windows.App.CommonLogger

Configures the common logger (abstraction provided by the Common.Logging.LogManager).
파일 보기 프로젝트 열기: Invenietis/ck-certified

공개 메소드들

메소드 설명
Initialize ( string appLogDirectory, bool dumpToConsole ) : void

Initializes Common.Logging.LogManager with a Common.Logging.Log4Net.Log4NetLoggerFactoryAdapter after having configured log4net to emit low levels logs.

비공개 메소드들

메소드 설명
OnApplicationCrash ( object source, CK.Windows.App.ApplicationCrashedEventArgs e ) : void

This method is registered on CK.AppRecovery.ApplicationRecovery.ApplicationCrashed event.

메소드 상세

Initialize() 공개 정적인 메소드

Initializes Common.Logging.LogManager with a Common.Logging.Log4Net.Log4NetLoggerFactoryAdapter after having configured log4net to emit low levels logs.
public static Initialize ( string appLogDirectory, bool dumpToConsole ) : void
appLogDirectory string The directory for low leveel logs.
dumpToConsole bool True to log all traces into the console.
리턴 void