C# Class CavemanTools.Logging.DeveloperLogger

Inheritance: IWriteToLog
Show file Open project: sapiens/cavemantools

Public Methods

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

Method Details

DeveloperLogger() public method

public DeveloperLogger ( Action writer ) : System
writer Action
return System

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