Download the PHP package koderhut/onelog-bundle without Composer
On this page you can find all versions of the php package koderhut/onelog-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download koderhut/onelog-bundle
More information about koderhut/onelog-bundle
Files in koderhut/onelog-bundle
Download koderhut/onelog-bundle
More information about koderhut/onelog-bundle
Files in koderhut/onelog-bundle
Vendor koderhut
Package onelog-bundle
Short Description A simplified way to inject loggers into objects for Symfony apps
License MIT
Package onelog-bundle
Short Description A simplified way to inject loggers into objects for Symfony apps
License MIT
Please rate this library. Is it a good library?
Informations about the package onelog-bundle
Onelog Bundle
This bundle will help with wrapping all monolog and other loggers in a Symfony app into a single logger entry point simplifying the logging needed in an app.
Usages
- $onelog->debug('test', []); <-- wil proxy the data to the default logger, in case of Monolog the app logger is used
- $onelog->my_logger->debug('test', []); <-- will forward the call to the logger my_logger, in case of Monolog to the my_logger channel
- \OneLog::debug('test', []); <-- shortcut to the default logger instance
- \OneLog::instance()->my_logger->debug('test', []); <-- shortcut for accessing a specific logger instance
To be added:
- $onelog->logObject($object, []);
LICENSE
Please review the LICENSE file
All versions of onelog-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
The package koderhut/onelog-bundle contains the following files
Loading the files please wait ....