Download the PHP package raketman/monolog-injection-bundle without Composer
On this page you can find all versions of the php package raketman/monolog-injection-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package monolog-injection-bundle
Very easy Monolog Injector into your class
Usage
Download and include the Bundle class in your code, or install it via Composer.
Configration example :
monolog_injection:
directories:
- 'path_to_observe_files'
Usage example :
/**
* @RaketmanLogger("validation")
*/
class ValidationV1 extends BaseType
{
use RaketmanLoggerTrait;
Now you have property logger that contains monolog logger with channel "validation" (if exists)
$this->logger->debug("validate-some-form", ["error" => "some-error"]);
Where to use
This is usefull for debug class without service definition, like FormBuilder, Entity and etc.
All versions of monolog-injection-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
symfony/monolog-bundle Version ~2.0|~3.0
doctrine/annotations Version ~1.0
symfony/finder Version ~2.2|~3.0|~4.0|~5.0
symfony/monolog-bundle Version ~2.0|~3.0
doctrine/annotations Version ~1.0
symfony/finder Version ~2.2|~3.0|~4.0|~5.0
The package raketman/monolog-injection-bundle contains the following files
Loading the files please wait ....