PSR-3 compatible InMemory Logger with ability to fetch logged entries from memory.
The InMemory logger provides an in memory implementation of a PSR-3 compatible logger. It allows to access the logged messages and do things with them (like comparing the log messages/orders/levels with expected behavior in unit tests).
Require the library using composer:
$ composer require metasyntactical/inmemory-logger
Please read the details in the contribution guide.