C# 클래스 Logging.DLogger

파일 보기 프로젝트 열기: vhnatyk/WebMarco.2.0

공개 프로퍼티들

프로퍼티 타입 설명
CurrentLoggingLevel LoggingLevel
isLoggingToFileEnabled bool?

공개 메소드들

메소드 설명
Initialize ( string rootLoggingFolder = null, bool isEncryptionOfLogEnabled = false ) : void
WriteLog ( Exception exception ) : void
WriteLog ( string messageFormat ) : void
WriteLog ( string messageFormat, LoggingLevel loggingLevel = LoggingLevel.Default ) : void

비공개 메소드들

메소드 설명
GetExceptionDescription ( Exception exception ) : string
LogToFile ( string message ) : void
WriteConsole ( string message ) : void

메소드 상세

Initialize() 공개 정적인 메소드

public static Initialize ( string rootLoggingFolder = null, bool isEncryptionOfLogEnabled = false ) : void
rootLoggingFolder string
isEncryptionOfLogEnabled bool
리턴 void

WriteLog() 공개 정적인 메소드

public static WriteLog ( Exception exception ) : void
exception System.Exception
리턴 void

WriteLog() 공개 정적인 메소드

public static WriteLog ( string messageFormat ) : void
messageFormat string
리턴 void

WriteLog() 공개 정적인 메소드

public static WriteLog ( string messageFormat, LoggingLevel loggingLevel = LoggingLevel.Default ) : void
messageFormat string
loggingLevel LoggingLevel
리턴 void

프로퍼티 상세

CurrentLoggingLevel 공개적으로 정적으로 프로퍼티

public static LoggingLevel CurrentLoggingLevel
리턴 LoggingLevel

isLoggingToFileEnabled 공개적으로 정적으로 프로퍼티

public static bool? isLoggingToFileEnabled
리턴 bool?