dev-master
9999999-devWatchdog Bundle for Symfony2 and Doctrine2
MIT
The Requires
The Development Requires
0.1
0.1.0.0Watchdog Bundle for Symfony2 and Doctrine2
MIT
The Requires
Wallogit.com
2017 © Pedro Peláez
Watchdog Bundle for Symfony2 and Doctrine2
Symfony >= 2.8.0, (*1)
$ composer require kcs/watchdog-bundle
In order to make doctrine DBAL persister work you need to install kcs/doctrine-extras
package and register the Kcs\Doctrine\Types\BinaryArrayType as binary_array.
This is required since the trace log serialization could lead to problems if used into a
LONGTEXT field in MySQL., (*2)
By default this bundle uses doctrine orm to persist the errors to database.
You can override the persister implementing Storage\StorageInterface and
specifying the new persister service id into persister configuration parameter, (*3)
...
kcs_watchdog:
persister: app_my_custom_persister
...
You can ignore some exceptions you don't want to log; Example:, (*4)
kcs_watchdog: allowed_exceptions: - Symfony\Component\HttpKernel\Exception\NotFoundHttpException
Setting the enabled config parameter to false the the bundle will be
completly disabled. Services and parameters will be not loaded into the container, (*5)
Watchdog Bundle for Symfony2 and Doctrine2
MIT
Watchdog Bundle for Symfony2 and Doctrine2
MIT