C# Class CavemanTools.Logging.NullLogger

Inheritance: IWriteToLog
Show file Open project: sapiens/cavemantools

Public Properties

Property Type Description
Instance NullLogger

Public Methods

Method Description
Log ( string source, LogLevel level, string message ) : void
LogException ( string source, LogLevel level, Exception ex, string context ) : void

Private Methods

Method Description
NullLogger ( ) : System

Method Details

Log() public method

public Log ( string source, LogLevel level, string message ) : void
source string
level LogLevel
message string
return void

LogException() public method

public LogException ( string source, LogLevel level, Exception ex, string context ) : void
source string
level LogLevel
ex System.Exception
context string
return void

Property Details

Instance public static property

public static NullLogger,CavemanTools.Logging Instance
return NullLogger