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

Inheritance: ILogger
Datei anzeigen Open project: CHECK24/c24.Sqlizer Class Usage Examples

Public Methods

Method Description
Log ( Exception e ) : void
Log ( string text ) : void
SimpleLogger ( string logsDirectory ) : System

Private Methods

Method Description
CreateLoggerDirectoryIfNeeded ( string logsDirectory ) : void
GetFormatedText ( string text ) : string
Log2Console ( string text ) : void
Log2File ( string text ) : void

Method Details

Log() public method

public Log ( Exception e ) : void
e System.Exception
return void

Log() public method

public Log ( string text ) : void
text string
return void

SimpleLogger() public method

public SimpleLogger ( string logsDirectory ) : System
logsDirectory string
return System