PSR-3 is the current standard for logging in PHP (https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logg...). Watchdog makes it a bit complicated to test API level modules. This module provides a PSR-3 logging interface over watchdog that you can use in your infrastructure, so you can write unit tests independently from Drupal.

Enable

Composer is needed for the dependencies.

  • composer update
  • drush en drupal_psr3
Supporting organizations: 
Provided time and resource for development

Project information

Releases