C# Class c24.Sqlizer.Infrastructure.Logging.SimpleLogger

Inheritance: ILogger
Afficher le fichier Open project: CHECK24/c24.Sqlizer Class Usage Examples

Méthodes publiques

Méthode Description
Log ( Exception e ) : void
Log ( string text ) : void
SimpleLogger ( string logsDirectory ) : System

Private Methods

Méthode Description
CreateLoggerDirectoryIfNeeded ( string logsDirectory ) : void
GetFormatedText ( string text ) : string
Log2Console ( string text ) : void
Log2File ( string text ) : void

Method Details

Log() public méthode

public Log ( Exception e ) : void
e System.Exception
Résultat void

Log() public méthode

public Log ( string text ) : void
text string
Résultat void

SimpleLogger() public méthode

public SimpleLogger ( string logsDirectory ) : System
logsDirectory string
Résultat System