C# Class PowerDeploy.Core.Logging.NullLogger

Default logger is to System.Diagnostics.Debug.Print Made public so its testable
https://github.com/ServiceStackV3/ServiceStackV3 BSD Licence.
Inheritance: ILog
Datei anzeigen Open project: tobiaszuercher/PowerDeploy

Public Methods

Method Description
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
NullLogger ( Type type ) : System

Initializes a new instance of the DebugLogger class.

NullLogger ( string type ) : System

Initializes a new instance of the DebugLogger class.

Print ( object message ) : void
PrintFormat ( string format ) : void
Warn ( object message ) : void
Warn ( object message, Exception exception ) : void
WarnFormat ( string format ) : void

Private Methods

Method 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

Debug() public method

public Debug ( object message ) : void
message object
return void

Debug() public method

public Debug ( object message, Exception exception ) : void
message object
exception System.Exception
return void

DebugFormat() public method

public DebugFormat ( string format ) : void
format string
return void

Error() public method

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

Error() public method

public Error ( object message, Exception exception ) : void
message object
exception System.Exception
return void

ErrorFormat() public method

public ErrorFormat ( string format ) : void
format string
return void

Fatal() public method

public Fatal ( object message ) : void
message object
return void

Fatal() public method

public Fatal ( object message, Exception exception ) : void
message object
exception System.Exception
return void

FatalFormat() public method

public FatalFormat ( string format ) : void
format string
return void

Info() public method

public Info ( object message ) : void
message object
return void

Info() public method

public Info ( object message, Exception exception ) : void
message object
exception System.Exception
return void

InfoFormat() public method

public InfoFormat ( string format ) : void
format string
return void

NullLogger() public method

Initializes a new instance of the DebugLogger class.
public NullLogger ( Type type ) : System
type System.Type
return System

NullLogger() public method

Initializes a new instance of the DebugLogger class.
public NullLogger ( string type ) : System
type string
return System

Print() public method

public Print ( object message ) : void
message object
return void

PrintFormat() public method

public PrintFormat ( string format ) : void
format string
return void

Warn() public method

public Warn ( object message ) : void
message object
return void

Warn() public method

public Warn ( object message, Exception exception ) : void
message object
exception System.Exception
return void

WarnFormat() public method

public WarnFormat ( string format ) : void
format string
return void