A logger that stores log entries in memory, allowing late consumption.
There are two mutually exclusive flavors, which can be selected through features:
- blocking: A single buffer is shared through a mutex, therefore operations may block.
- asynchronous: Entries are managed through a channel, therefore operations may never block.
One should not attempt to use both flavors simultaneously.
blocking: enables the
blockingmodule. Should not be used with
asynchronous: enables the
asynchronousmodule. Should not be used with
target: enables the
targetregex parameter for both flavors, allowing filtering logs by target (module name).