function monolog_handler_info_load in Monolog 7
Same name and namespace in other branches
- 6 monolog.crud.inc \monolog_handler_info_load()
Returns a single handler definition by its unique name.
Parameters
string $name: The unique identifier of the handler.
See also
monolog_handler_load_all()
Related topics
2 calls to monolog_handler_info_load()
- monolog_handler_form in ./
monolog.admin.inc - Handler settings callback.
- monolog_push_handlers in ./
monolog.module - Pushes handlers onto the stack.
File
- ./
monolog.crud.inc, line 218 - CRUD functions for logging profile configurations.
Code
function monolog_handler_info_load($name) {
$handlers = monolog_handler_info_load_all();
return isset($handlers[$name]) ? $handlers[$name] : FALSE;
}