You are here

function monolog_handler_info_load in Monolog 6

Same name and namespace in other branches
  1. 7 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 216
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;
}