C# Class TekConf.Api.Infrastructure.Logging.Logger

Inheritance: ILogger
Mostrar archivo Open project: tekconf/tekconf

Public Methods

Method Description
Error ( Exception exception, string fmt ) : void
Error ( string message ) : void
Information ( Exception exception, string fmt ) : void
Information ( string message ) : void
TraceApi ( string componentName, string method, System.TimeSpan timespan ) : void
TraceApi ( string componentName, string method, System.TimeSpan timespan, string fmt ) : void
Warning ( Exception exception, string fmt ) : void
Warning ( string message ) : void

Private Methods

Method Description
FormatExceptionMessage ( Exception exception, string fmt, object vars ) : string

Method Details

Error() public method

public Error ( Exception exception, string fmt ) : void
exception System.Exception
fmt string
return void

Error() public method

public Error ( string message ) : void
message string
return void

Information() public method

public Information ( Exception exception, string fmt ) : void
exception System.Exception
fmt string
return void

Information() public method

public Information ( string message ) : void
message string
return void

TraceApi() public method

public TraceApi ( string componentName, string method, System.TimeSpan timespan ) : void
componentName string
method string
timespan System.TimeSpan
return void

TraceApi() public method

public TraceApi ( string componentName, string method, System.TimeSpan timespan, string fmt ) : void
componentName string
method string
timespan System.TimeSpan
fmt string
return void

Warning() public method

public Warning ( Exception exception, string fmt ) : void
exception System.Exception
fmt string
return void

Warning() public method

public Warning ( string message ) : void
message string
return void