function monolog_channel_info_load in Monolog 6
Same name and namespace in other branches
- 7 monolog.crud.inc \monolog_channel_info_load()
Returns a single channel definition by its unique name.
Parameters
string $name: The unique identifier of the channel.
See also
monolog_channel_load_all()
Related topics
1 call to monolog_channel_info_load()
- monolog in ./
monolog.module - Factory function for Monolog loggers.
File
- ./
monolog.crud.inc, line 163 - CRUD functions for logging profile configurations.
Code
function monolog_channel_info_load($name) {
$channels = monolog_channel_info_load_all();
return isset($channels[$name]) ? $channels[$name] : FALSE;
}