C# Class Habanero.Testability.Helpers.HabaneroConsoleLogger

Logs any messaged to the console
Inheritance: IHabaneroLogger
Mostra file Open project: Chillisoft/habanero.testability

Public Methods

Method Description
HabaneroConsoleLogger ( string contextName ) : System

IsLogging ( LogCategory logCategory ) : bool
Log ( Exception exception ) : void
Log ( string message ) : void

Log ( string message, Exception exception ) : void
Log ( string message, Exception exception, LogCategory logCategory ) : void
Log ( string message, LogCategory logCategory ) : void

Method Details

HabaneroConsoleLogger() public method

public HabaneroConsoleLogger ( string contextName ) : System
contextName string
return System

IsLogging() public method

public IsLogging ( LogCategory logCategory ) : bool
logCategory LogCategory
return bool

Log() public method

public Log ( Exception exception ) : void
exception System.Exception
return void

Log() public method

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

Log() public method

public Log ( string message, Exception exception ) : void
message string
exception System.Exception
return void

Log() public method

public Log ( string message, Exception exception, LogCategory logCategory ) : void
message string
exception System.Exception
logCategory LogCategory
return void

Log() public method

public Log ( string message, LogCategory logCategory ) : void
message string
logCategory LogCategory
return void