monolog.module in Monolog 8
Same filename and directory in other branches
File
monolog.moduleView source
<?php
/**
* Implements hook_mail().
*/
function monolog_mail($key, &$message, $params) {
$content = $params['content'];
$records = $params['records'];
$message['subject'] = t('A new %level message has been logged', [
'%level' => $records[0]['level_name'],
]);
$message['body'][] = $content;
}
Functions
Name | Description |
---|---|
monolog_mail | Implements hook_mail(). |