Download the PHP package kucera/monolog-extensions-bundle without Composer
On this page you can find all versions of the php package kucera/monolog-extensions-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kucera/monolog-extensions-bundle
More information about kucera/monolog-extensions-bundle
Files in kucera/monolog-extensions-bundle
Package monolog-extensions-bundle
Short Description Bundle adding a set of Monolog extensions.
License MIT GPL-2.0 GPL-3.0
Homepage https://github.com/pavelkucera/monolog-extensions-bundle
Informations about the package monolog-extensions-bundle
kucera/monolog-extensions-bundle
Bundle providing mainly integration of Tracy into Symfony.
Tracy capabilities
Long story short, Tracy helps you debug your applications when an error occurs providing you lots of information about what just happened. Check out live example and Tracy documentation to see the full power of this tool.
To replace default Symfony Bluescreen you can use Tracy Bluescreen Bundle fully compatible with this library.
Installation
Using Composer:
Register Bundle
Register a new Monolog handler
Profit!
Any error/exception making it to the top is automatically saved in %kernel.logs_dir%/blueScreen
. You can easily change the log directory,
see full configuration options below:
This works out of the box and also in production mode!
Tips
Log notices/warnings in production
Use Symfony parameter debug.error_handler.throw_at
: (see http://php.net/manual/en/function.error-reporting.php for possible values)
Using Tracy\Debugger::dump
To prevent forgotten dumps to appear on production you can simply change the mode like this:
All versions of monolog-extensions-bundle with dependencies
symfony/monolog-bundle Version ~2.6|~3.0
symfony/dependency-injection Version ~2.6|~3.0
symfony/config Version ~2.6|~3.0
symfony/yaml Version ~2.6|~3.0
kucera/monolog-extensions Version ~0.1.0