function monolog_logging_monolog_channel_info in Monolog 7
Same name and namespace in other branches
- 6 modules/monolog_logging/monolog_logging.module \monolog_logging_monolog_channel_info()
Implements hook_monolog_channel_info().
File
- modules/
monolog_logging/ monolog_logging.module, line 46 - Integrates Drupal's internal logging system with Monolog by routing watchdog messages to Monolog channels.
Code
function monolog_logging_monolog_channel_info() {
$channels = array();
$channels['watchdog'] = array(
'label' => t('Watchdog'),
'description' => t('The default channel that watchdog messages are routed through.'),
'default profile' => 'production',
);
return $channels;
}