Array logger. Collects log messages in memory. Intended primarily for usage in testing where using mocks would be complicated. But can also be used in scenarios where you need to capture logs in application code.
Inherited | Abstract | Final | Static | Datatype | Header |
---|---|---|---|---|---|
bool | bool initialize(Json[string] initData = null) | ||||
void | void clear() | ||||
ILogger | ILogger log(LogLevels logLevel, string logMessage, Json[string] logContext = null) | ||||
string[] | string[] read() |