C# Class Customer.Project.Mvc.Instrumentation.Report

Afficher le fichier Open project: atosorigin/AtosMvcStarterKit

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
LogAndRaiseAuthorizationError ( BaseController controller ) : void

Method Details

Error() public static méthode

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
Résultat void

Error() public static méthode

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
Résultat void

LogAndRaiseErrorImplementation() public static méthode

public static LogAndRaiseErrorImplementation ( string errorDescription ) : void
errorDescription string
Résultat void

LogInfo() public static méthode

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

ReportAuthorizationError() public static méthode

public static ReportAuthorizationError ( this controller ) : void
controller this
Résultat void

ReturnJsonAuthorizationError() public static méthode

public static ReturnJsonAuthorizationError ( this controller ) : object
controller this
Résultat object