C# Class PowerDeploy.Core.Logging.ConsoleLogger

Default logger is to Console.WriteLine Made public so its testable
https://github.com/ServiceStackV3/ServiceStackV3 BSD Licence.
Inheritance: ILog
Afficher le fichier Open project: tobiaszuercher/PowerDeploy

Méthodes publiques

Méthode Description
ConsoleLogger ( Type type ) : System

Initializes a new instance of the DebugLogger class.

ConsoleLogger ( string type ) : System

Initializes a new instance of the DebugLogger class.

Debug ( object message ) : void
Debug ( object message, Exception exception ) : void
DebugFormat ( string format ) : void
Error ( object message ) : void
Error ( object message, Exception exception ) : void
ErrorFormat ( string format ) : void
Fatal ( object message ) : void
Fatal ( object message, Exception exception ) : void
FatalFormat ( string format ) : void
Info ( object message ) : void
Info ( object message, Exception exception ) : void
InfoFormat ( string format ) : void
Print ( object message ) : void
PrintFormat ( string format ) : void
Warn ( object message ) : void
Warn ( object message, Exception exception ) : void
WarnFormat ( string format ) : void

Private Methods

Méthode Description
Log ( object message ) : void

Logs the specified message.

Log ( object message, Exception exception ) : void

Logs the specified message.

LogFormat ( object message ) : void

Logs the format.

Method Details

ConsoleLogger() public méthode

Initializes a new instance of the DebugLogger class.
public ConsoleLogger ( Type type ) : System
type System.Type
Résultat System

ConsoleLogger() public méthode

Initializes a new instance of the DebugLogger class.
public ConsoleLogger ( string type ) : System
type string
Résultat System

Debug() public méthode

public Debug ( object message ) : void
message object
Résultat void

Debug() public méthode

public Debug ( object message, Exception exception ) : void
message object
exception System.Exception
Résultat void

DebugFormat() public méthode

public DebugFormat ( string format ) : void
format string
Résultat void

Error() public méthode

public Error ( object message ) : void
message object
Résultat void

Error() public méthode

public Error ( object message, Exception exception ) : void
message object
exception System.Exception
Résultat void

ErrorFormat() public méthode

public ErrorFormat ( string format ) : void
format string
Résultat void

Fatal() public méthode

public Fatal ( object message ) : void
message object
Résultat void

Fatal() public méthode

public Fatal ( object message, Exception exception ) : void
message object
exception System.Exception
Résultat void

FatalFormat() public méthode

public FatalFormat ( string format ) : void
format string
Résultat void

Info() public méthode

public Info ( object message ) : void
message object
Résultat void

Info() public méthode

public Info ( object message, Exception exception ) : void
message object
exception System.Exception
Résultat void

InfoFormat() public méthode

public InfoFormat ( string format ) : void
format string
Résultat void

Print() public méthode

public Print ( object message ) : void
message object
Résultat void

PrintFormat() public méthode

public PrintFormat ( string format ) : void
format string
Résultat void

Warn() public méthode

public Warn ( object message ) : void
message object
Résultat void

Warn() public méthode

public Warn ( object message, Exception exception ) : void
message object
exception System.Exception
Résultat void

WarnFormat() public méthode

public WarnFormat ( string format ) : void
format string
Résultat void