-
Notifications
You must be signed in to change notification settings - Fork 2
CacheLogger
Aghyad khlefawi edited this page Apr 21, 2017
·
1 revision
An ILogger saves the log records in memory.
| Name | Description |
|---|---|
| GetLog | Returns a collection of LogRecord |
C# Example:
CacheLogger logger = new CacheLogger();
logger.Initialize(LogRecordTypes.Debug);
logger.Log("Coddee","A simple log",LogRecordTypes.Information);
//Returns the logs.
IEnumerable<LogRecord> logs = logger.GetLog();