This package provides simple mechanism for PSR-3 logging via Craft CMS.
To install, use composer:
composer require flipboxdigital/craft-psr3
$ ./vendor/bin/phpunit
Define it as a component in your plugin
'components' => [
'psr3logger' => [
'class' => flipbox\craft\psr3\Logger::class
]
]
or via your composer as an 'extra' definition
"components": {
"psr3logger": "flipbox\\craft\\psr3\\Logger"
}
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.