C# Class MicroLite.Logging.EmptyLog

An implementation of ILog which always returns false for all log levels and all methods are no-op.
Inheritance: ILog
Datei anzeigen Open project: TrevorPilley/MicroLite

Private Properties

Property Type Description
EmptyLog System

Public Methods

Method Description
Debug ( string message ) : void
Error ( string message ) : void
Error ( string message, Exception exception ) : void
Fatal ( string message ) : void
Fatal ( string message, Exception exception ) : void
Info ( string message ) : void
Warn ( string message ) : void

Private Methods

Method Description
EmptyLog ( ) : System

Method Details

Debug() public method

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

Error() public method

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

Error() public method

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

Fatal() public method

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

Fatal() public method

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

Info() public method

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

Warn() public method

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