metasyntactical / inmemory-logger
PSR-3 compatible InMemory Logger with ability to fetch logged entries from memory.
Installs: 30 384
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 1
Open Issues: 1
Requires
- php: 8.0.*|8.1.*|8.2.*|8.3.*
- psr/log: ^1.0|^2.0|^3.0
- regex-guard/regex-guard: ^1.1
- webmozart/assert: ^1.11
Requires (Dev)
- phpspec/phpspec: ^7.5
Provides
- psr/log-implementation: 1.0|2.0|3.0
README
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).
Installation
Require the library using composer:
$ composer require metasyntactical/inmemory-logger
Usage
(Coming soon)
Contributing
Please read the details in the contribution guide.