C# Class CloudMedicApi.Utility.Logger

This is a generalized exception/error handler that can be plugged into the WebApi exception handling (via `ExceptionLogger`) as well as can be invoked directly by app code (via `Log(..)` overloads)
Inheritance: System.Web.Http.ExceptionHandling.ExceptionLogger
Afficher le fichier Open project: crypteron/cloudmedic

Méthodes publiques

Méthode Description
Log ( Exception e ) : void
Log ( System.Web.Http.ExceptionHandling.ExceptionLoggerContext context ) : void
Log ( string msg ) : void

Private Methods

Méthode Description
RequestToString ( HttpRequestMessage request ) : string

Method Details

Log() public static méthode

public static Log ( Exception e ) : void
e System.Exception
Résultat void

Log() public méthode

public Log ( System.Web.Http.ExceptionHandling.ExceptionLoggerContext context ) : void
context System.Web.Http.ExceptionHandling.ExceptionLoggerContext
Résultat void

Log() public static méthode

public static Log ( string msg ) : void
msg string
Résultat void