C# Class TastyDomainDriven.TheLogger

Afficher le fichier Open project: jaceenet/TastyDomainDriven Class Usage Examples

Méthodes publiques

Свойство Type Description
LogException Action
LogMessage TheLogLevel>.Action

Méthodes publiques

Méthode 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 méthode

public Debug ( string msg, Exception ex = null ) : void
msg string
ex System.Exception
Résultat void

DebugFormat() public méthode

public DebugFormat ( string msg ) : void
msg string
Résultat void

Info() public méthode

public Info ( string msg, Exception ex = null ) : void
msg string
ex System.Exception
Résultat void

InfoFormat() public méthode

public InfoFormat ( string msg ) : void
msg string
Résultat void

Instance() public static méthode

public static Instance ( ) : TheLogger
Résultat TheLogger

TheLogger() public méthode

public TheLogger ( ) : System
Résultat System

ToConsole() public méthode

public ToConsole ( ) : TheLogger
Résultat TheLogger

WarnFormat() public méthode

public WarnFormat ( string msg ) : void
msg string
Résultat void

Property Details

LogException public_oe property

public Action LogException
Résultat Action

LogMessage public_oe property

public Action LogMessage
Résultat TheLogLevel>.Action