function hook_default_monolog_profiles in Monolog 6
Same name and namespace in other branches
- 7 monolog.api.php \hook_default_monolog_profiles()
Contains default profile configurations.
A profile is a collection of handlers that process the record.
1 function implements hook_default_monolog_profiles()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- monolog_default_monolog_profiles in ./
monolog.monolog.inc - Implements hook_default_monolog_profiles().
File
- ./
monolog.api.php, line 142 - Hooks provided by the Composer Manager module.
Code
function hook_default_monolog_profiles() {
$profiles = array();
$profile = new stdClass();
$profile->disabled = FALSE;
$profile->api_version = 1;
$profile->name = 'syslog';
$profile->options = array(
'label' => 'Syslog',
'handlers' => array(
'syslog' => array(
'handler' => 'syslog',
'label' => 'Syslog',
'ident' => 'drupal',
'level' => 200,
'bubble' => 1,
'weight' => -50,
),
),
);
$profiles[$profile->name] = $profile;
return $profiles;
}