C# 클래스 Elmah.ErrorLogModule

HTTP module implementation that logs unhandled exceptions in an ASP.NET Web application to an error log.
상속: HttpModuleBase, IExceptionFiltering
파일 보기 프로젝트 열기: elmah/Elmah

보호된 메소드들

메소드 설명
GetErrorLog ( System.Web.HttpContextBase context ) : Elmah.ErrorLog

Gets the ErrorLog instance to which the module will log exceptions.

LogException ( Exception e, HttpContextBase context ) : void

Logs an exception and its context to the error log.

OnError ( object sender, EventArgs args ) : void

The handler called when an unhandled exception bubbles up to the module.

OnErrorSignaled ( object sender, ErrorSignalEventArgs args ) : void

The handler called when an exception is explicitly signaled.

OnFiltering ( ExceptionFilterEventArgs args ) : void

Raises the Filtering event.

OnInit ( HttpApplication application ) : void

Initializes the module and prepares it to handle requests.

OnLogged ( ErrorLoggedEventArgs args ) : void

Raises the Logged event.

메소드 상세

GetErrorLog() 보호된 메소드

Gets the ErrorLog instance to which the module will log exceptions.
protected GetErrorLog ( System.Web.HttpContextBase context ) : Elmah.ErrorLog
context System.Web.HttpContextBase
리턴 Elmah.ErrorLog

LogException() 보호된 메소드

Logs an exception and its context to the error log.
protected LogException ( Exception e, HttpContextBase context ) : void
e Exception
context HttpContextBase
리턴 void

OnError() 보호된 메소드

The handler called when an unhandled exception bubbles up to the module.
protected OnError ( object sender, EventArgs args ) : void
sender object
args EventArgs
리턴 void

OnErrorSignaled() 보호된 메소드

The handler called when an exception is explicitly signaled.
protected OnErrorSignaled ( object sender, ErrorSignalEventArgs args ) : void
sender object
args ErrorSignalEventArgs
리턴 void

OnFiltering() 보호된 메소드

Raises the Filtering event.
protected OnFiltering ( ExceptionFilterEventArgs args ) : void
args ExceptionFilterEventArgs
리턴 void

OnInit() 보호된 메소드

Initializes the module and prepares it to handle requests.
protected OnInit ( HttpApplication application ) : void
application HttpApplication
리턴 void

OnLogged() 보호된 메소드

Raises the Logged event.
protected OnLogged ( ErrorLoggedEventArgs args ) : void
args ErrorLoggedEventArgs
리턴 void