C# Class TastyDomainDriven.TheLogger

Exibir arquivo Open project: jaceenet/TastyDomainDriven Class Usage Examples

Public Properties

Property Type Description
LogException Action
LogMessage TheLogLevel>.Action

Public Methods

Method Description
Debug ( string msg, Exception ex = null ) : void
DebugFormat ( string msg ) : void
Info ( string msg, Exception ex = null ) : void
InfoFormat ( string msg ) : void
Instance ( ) : TheLogger
TheLogger ( ) : System
ToConsole ( ) : TheLogger
WarnFormat ( string msg ) : void

Method Details

Debug() public method

public Debug ( string msg, Exception ex = null ) : void
msg string
ex System.Exception
return void

DebugFormat() public method

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

Info() public method

public Info ( string msg, Exception ex = null ) : void
msg string
ex System.Exception
return void

InfoFormat() public method

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

Instance() public static method

public static Instance ( ) : TheLogger
return TheLogger

TheLogger() public method

public TheLogger ( ) : System
return System

ToConsole() public method

public ToConsole ( ) : TheLogger
return TheLogger

WarnFormat() public method

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

Property Details

LogException public_oe property

public Action LogException
return Action

LogMessage public_oe property

public Action LogMessage
return TheLogLevel>.Action