fr3d / psr3-message-assertions
Test your log messages are compliant with the PSR-3 specification
Installs: 1 289
Dependents: 2
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: >= 7.1
- phpunit/phpunit: ^6.0||^7.0||^8.0||^9.0
- psr/log: ~1.0
Requires (Dev)
README
Test your log messages are compliant with the PSR-3 (Logger) specification
Installing via Composer
You can use Composer .
composer require fr3d/psr3-message-assertions
Usage in PHPUnit
Use TestLogger.php as the logger dependency.
TestLogger
will assert each log message is compliant with the PSR-3 Logger standard.
License
Code licensed under BSD 2 clauses terms & conditions.
See LICENSE.txt for more information.