function monolog_level_options in Monolog 7
Same name and namespace in other branches
- 6 monolog.admin.inc \monolog_level_options()
Returns the logging level options.
Return value
array
3 calls to monolog_level_options()
- monolog_handler_form in ./
monolog.admin.inc - Handler settings callback.
- monolog_profile_form in ./
monolog.admin.inc - Form for adding and editing logging profile configurations.
- theme_monolog_handler_table in ./
monolog.admin.inc - Returns HTML for the handler table.
File
- ./
monolog.admin.inc, line 15 - Administrative settings for the Monolog module.
Code
function monolog_level_options() {
return array(
Logger::DEBUG => t('Debug'),
Logger::INFO => t('Info'),
Logger::NOTICE => t('Notice'),
Logger::WARNING => t('Warning'),
Logger::ERROR => t('Error'),
Logger::CRITICAL => t('Critical'),
Logger::ALERT => t('Alert'),
Logger::EMERGENCY => t('Emergency'),
);
}