2017 © Pedro Peláez
 

library watchdog-bundle

Watchdog Bundle for Symfony2 and Doctrine2

image

kcs/watchdog-bundle

Watchdog Bundle for Symfony2 and Doctrine2

  • Sunday, December 27, 2015
  • by alekitto
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1,654 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

KCS Watchdog bundle for Symfony

Requirements:

Symfony >= 2.8.0, (*1)

Installation:

$ 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)

Configuration

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)

The Versions

27/12 2015

dev-master

9999999-dev

Watchdog Bundle for Symfony2 and Doctrine2

  Sources   Download

MIT

The Requires

 

The Development Requires

21/04 2015

0.1

0.1.0.0

Watchdog Bundle for Symfony2 and Doctrine2

  Sources   Download

MIT

The Requires