null.inc in Monolog 7
Same filename and directory in other branches
Handler include for NullHandler.
File
handlers/null.incView source
<?php
/**
* @file
* Handler include for NullHandler.
*/
use Monolog\Handler\NullHandler;
/**
* Monolog loader callback; Loads a NullHandler handler.
*
* @return HandlerInterface
*/
function monolog_null_handler_loader($options) {
return new NullHandler($options['level']);
}
/**
* Monolog settings form; Settings for the NullHandler handler.
*/
function monolog_null_handler_settings(&$form, &$form_state, $profile, array $handler) {
$form['bubble']['#access'] = FALSE;
}
Functions
Name | Description |
---|---|
monolog_null_handler_loader | Monolog loader callback; Loads a NullHandler handler. |
monolog_null_handler_settings | Monolog settings form; Settings for the NullHandler handler. |