C# 클래스 MetroLog.Logger

파일 보기 프로젝트 열기: mbrit/ProgrammingMetroStyle

Private Properties

프로퍼티 타입 설명
LogInternal LogEventInfo
Logger System

공개 메소드들

메소드 설명
Debug ( string message ) : void
Debug ( string message, Exception ex = null ) : void
Error ( string message ) : void
Error ( string message, Exception ex = null ) : void
Fatal ( string message ) : void
Fatal ( string message, Exception ex = null ) : void
Info ( string message ) : void
Info ( string message, Exception ex = null ) : void
IsEnabled ( LogLevel level ) : bool
Log ( LogLevel logLevel, string message ) : LogEventInfo
Log ( LogLevel logLevel, string message, Exception ex ) : LogEventInfo
Trace ( string message ) : void
Trace ( string message, Exception ex = null ) : void
Warn ( string message ) : void
Warn ( string message, Exception ex = null ) : void

비공개 메소드들

메소드 설명
LogInternal ( LogLevel level, string message, string ps, Exception ex, bool doFormat ) : LogEventInfo
Logger ( string name, LoggingConfiguration config ) : System

메소드 상세

Debug() 공개 메소드

public Debug ( string message ) : void
message string
리턴 void

Debug() 공개 메소드

public Debug ( string message, Exception ex = null ) : void
message string
ex System.Exception
리턴 void

Error() 공개 메소드

public Error ( string message ) : void
message string
리턴 void

Error() 공개 메소드

public Error ( string message, Exception ex = null ) : void
message string
ex System.Exception
리턴 void

Fatal() 공개 메소드

public Fatal ( string message ) : void
message string
리턴 void

Fatal() 공개 메소드

public Fatal ( string message, Exception ex = null ) : void
message string
ex System.Exception
리턴 void

Info() 공개 메소드

public Info ( string message ) : void
message string
리턴 void

Info() 공개 메소드

public Info ( string message, Exception ex = null ) : void
message string
ex System.Exception
리턴 void

IsEnabled() 공개 메소드

public IsEnabled ( LogLevel level ) : bool
level LogLevel
리턴 bool

Log() 공개 메소드

public Log ( LogLevel logLevel, string message ) : LogEventInfo
logLevel LogLevel
message string
리턴 LogEventInfo

Log() 공개 메소드

public Log ( LogLevel logLevel, string message, Exception ex ) : LogEventInfo
logLevel LogLevel
message string
ex System.Exception
리턴 LogEventInfo

Trace() 공개 메소드

public Trace ( string message ) : void
message string
리턴 void

Trace() 공개 메소드

public Trace ( string message, Exception ex = null ) : void
message string
ex System.Exception
리턴 void

Warn() 공개 메소드

public Warn ( string message ) : void
message string
리턴 void

Warn() 공개 메소드

public Warn ( string message, Exception ex = null ) : void
message string
ex System.Exception
리턴 void