ILogger - Aghyad-Khlefawi/Coddee GitHub Wiki
Defines the basic functionality of an application logger.
Available implemetation
Methods
| Name | Description |
|---|---|
| Initialize(LogRecordTypes) | Initialize the logger and specify the minimum event level to show |
| Log(MultipleOverloads) | Add a LogRecord to the logger |
C# Example:
ILogger logger = new DebugOuputLogger();
logger.Initialize(LogRecordTypes.Debug);
logger.Log("Coddee","A simple log",LogRecordTypes.Information);
//Outputs
//[4/21/2017 4:36:55 PM] [Information] [Coddee] A simple log