C# 클래스 Customer.Project.Mvc.Instrumentation.Report

파일 보기 프로젝트 열기: atosorigin/AtosMvcStarterKit

공개 메소드들

메소드 설명
Error ( BaseController controller, Exception ex, string prefix ) : void

Logs error to IFormatLogger and Elmah and adds a non descriptive error message to the modelstate

Error ( BaseController controller, string errorDescription ) : void

Logs error to IFormatLogger and Elmah and adds a non descriptive error message to the modelstate

LogAndRaiseErrorImplementation ( string errorDescription ) : void
LogInfo ( Exception ex, string prefix ) : void

Logs error to IFormatLogger and Elmah

ReportAuthorizationError ( this controller ) : void
ReturnJsonAuthorizationError ( this controller ) : object

비공개 메소드들

메소드 설명
LogAndRaiseAuthorizationError ( BaseController controller ) : void

메소드 상세

Error() 공개 정적인 메소드

Logs error to IFormatLogger and Elmah and adds a non descriptive error message to the modelstate
public static Error ( BaseController controller, Exception ex, string prefix ) : void
controller Customer.Project.Mvc.Controllers.BaseController
ex System.Exception
prefix string
리턴 void

Error() 공개 정적인 메소드

Logs error to IFormatLogger and Elmah and adds a non descriptive error message to the modelstate
public static Error ( BaseController controller, string errorDescription ) : void
controller Customer.Project.Mvc.Controllers.BaseController
errorDescription string
리턴 void

LogAndRaiseErrorImplementation() 공개 정적인 메소드

public static LogAndRaiseErrorImplementation ( string errorDescription ) : void
errorDescription string
리턴 void

LogInfo() 공개 정적인 메소드

Logs error to IFormatLogger and Elmah
public static LogInfo ( Exception ex, string prefix ) : void
ex System.Exception
prefix string
리턴 void

ReportAuthorizationError() 공개 정적인 메소드

public static ReportAuthorizationError ( this controller ) : void
controller this
리턴 void

ReturnJsonAuthorizationError() 공개 정적인 메소드

public static ReturnJsonAuthorizationError ( this controller ) : object
controller this
리턴 object