C# Class Customer.Project.Utilities.FormatLogger

Inheritance: IFormatLogger
Exibir arquivo Open project: atosorigin/AtosMvcStarterKit

Public Methods

Method Description
Debug ( string messageFormatString ) : void
Error ( Exception ex, string prefix ) : void
Error ( string messageFormatString ) : void
Fatal ( Exception ex, string prefix ) : void
Fatal ( string messageFormatString ) : void
FormatLogger ( log4net.ILog log ) : System
Info ( Exception ex, string messageFormatString ) : void

Logs an exception as an info message

Info ( string messageFormatString ) : void
Log ( LogLevel level, Exception ex, string prefix ) : void
Log ( LogLevel level, string messageFormatString ) : void
Warn ( string messageFormatString ) : void

Method Details

Debug() public method

public Debug ( string messageFormatString ) : void
messageFormatString string
return void

Error() public method

public Error ( Exception ex, string prefix ) : void
ex System.Exception
prefix string
return void

Error() public method

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

Fatal() public method

public Fatal ( Exception ex, string prefix ) : void
ex System.Exception
prefix string
return void

Fatal() public method

public Fatal ( string messageFormatString ) : void
messageFormatString string
return void

FormatLogger() public method

public FormatLogger ( log4net.ILog log ) : System
log log4net.ILog
return System

Info() public method

Logs an exception as an info message
public Info ( Exception ex, string messageFormatString ) : void
ex System.Exception
messageFormatString string
return void

Info() public method

public Info ( string messageFormatString ) : void
messageFormatString string
return void

Log() public method

public Log ( LogLevel level, Exception ex, string prefix ) : void
level LogLevel
ex System.Exception
prefix string
return void

Log() public method

public Log ( LogLevel level, string messageFormatString ) : void
level LogLevel
messageFormatString string
return void

Warn() public method

public Warn ( string messageFormatString ) : void
messageFormatString string
return void