Download the PHP package colinodell/psr-testlogger without Composer
On this page you can find all versions of the php package colinodell/psr-testlogger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download colinodell/psr-testlogger
More information about colinodell/psr-testlogger
Files in colinodell/psr-testlogger
Package psr-testlogger
Short Description PSR-3 compliant test logger based on psr/log v1's, but compatible with v2 and v3 too!
License MIT
Homepage https://github.com/colinodell/psr-testlogger
Informations about the package psr-testlogger
psr-testlogger
PSR-3 compliant test logger based on psr/log v1's, but compatible with v2 and v3 too!
📦 Installation
This project requires PHP 8.0 or higher. To install it via Composer simply run:
Usage
This package provides a PSR-3 compliant logger useful for testing. Simply log messages to it like usual, and use one of the many available methods to perform assertions on the logged messages.
In addition to the standard PSR-3 log levels, this test logger also supports custom string
and int
levels when using log()
. Other types are not supported.
Release Cycle
This library is considered stable. No new development is currently planned unless needed to fix issues or maintain compatibility with the psr/log library.
Issues and PRs for bug fixes are welcome and will be merged/released on an as-needed basis.
Backward Compatibility
This library strictly follows SemVer using Symfony's BC Promise as a guide.
Reporting Security Issues
Please report security issues directly to the library author instead of using the issue tracker. Contact info can be found in composer.json
.