function _system_charts_watchdog_severity_label in Google Chart Tools: Image Charts 5
Same name and namespace in other branches
- 6 contrib/system_charts/system_charts.module \_system_charts_watchdog_severity_label()
- 7 system_charts/system_charts.module \_system_charts_watchdog_severity_label()
Return the watchdog severity label
1 call to _system_charts_watchdog_severity_label()
- system_charts_build in contrib/
system_charts/ system_charts.module - Gather data and build a chart API structure.
File
- contrib/
system_charts/ system_charts.module, line 336 - Core drupal system charting. Developed by Tj Holowaychuk
Code
function _system_charts_watchdog_severity_label($severity) {
switch ($severity) {
case WATCHDOG_NOTICE:
return t('Notice');
break;
case WATCHDOG_WARNING:
return t('Warning');
break;
case WATCHDOG_ERROR:
return t('Error');
break;
}
}