C# 클래스 Logging.Log4NetLogger

상속: ILogger
파일 보기 프로젝트 열기: tah91/eworkyWebSite 1 사용 예제들

공개 메소드들

메소드 설명
Debug ( string message ) : void
Error ( string message ) : void
Error ( string message, Exception e ) : void
Info ( string message ) : void
Log4NetLogger ( ) : System
Warn ( string message ) : void

비공개 메소드들

메소드 설명
AddDebugInfo ( string message ) : string

This method is necessary because the default implementation of log4net gets stack info from the calling method. The calling method will always be our wrapper methods above. This code goes down the stack trace one step further and determines the correct calling info. Provide specific information about the logged message.

메소드 상세

Debug() 공개 메소드

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

Error() 공개 메소드

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

Error() 공개 메소드

public Error ( string message, Exception e ) : void
message string
e System.Exception
리턴 void

Info() 공개 메소드

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

Log4NetLogger() 공개 메소드

public Log4NetLogger ( ) : System
리턴 System

Warn() 공개 메소드

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