chillerlan/php-log
A cheap psr/logger-interface implementation. PHP 7.2+
Documentation
Installation
requires composer
composer.json (note: replace dev-master
with a version boundary)
{
"require": {
"php": ">=7.2.0",
"chillerlan/php-log": "^2.0"
}
}
Manual installation
Download the desired version of the package from master or release and extract the contents to your project folder. After that:
- run
composer install
to install the required dependencies and generate/vendor/autoload.php
. - if you use a custom autoloader, point the namespace
chillerlan\Logger
to the foldersrc
of the package
Profit!
Usage
- @todo