You are here

function hook_monolog_handler_path in Monolog 6

Same name and namespace in other branches
  1. 7 monolog.api.php \hook_monolog_handler_path()

The path to the directory containing the handler includes.

Each include file inside of the directory contains a handler's "loader callback" and "settings callback" functions. The file will be autoloaded if the filename is the machine name of the handler with a ".inc" suffix, for example "stream.inc" for the "stream" handler.

The directory is relative to the module's root.

Return value

string

1 function implements hook_monolog_handler_path()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

monolog_monolog_handler_path in ./monolog.monolog.inc
Implements hook_monolog_handler_path().
1 invocation of hook_monolog_handler_path()
monolog_handler_info_load_all in ./monolog.crud.inc
Loads all handler definitions from hook_monolog_handler_info() implementations.

File

./monolog.api.php, line 55
Hooks provided by the Composer Manager module.

Code

function hook_monolog_handler_path() {
  return 'handlers';
}