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
Exibir arquivo Open project: crypteron/cloudmedic

Public Methods

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

Private Methods

Method Description
RequestToString ( HttpRequestMessage request ) : string

Method Details

Log() public static method

public static Log ( Exception e ) : void
e System.Exception
return void

Log() public method

public Log ( System.Web.Http.ExceptionHandling.ExceptionLoggerContext context ) : void
context System.Web.Http.ExceptionHandling.ExceptionLoggerContext
return void

Log() public static method

public static Log ( string msg ) : void
msg string
return void