src/core/utils.js
function logLevelLabel(logLevel) {
    switch (logLevel) {
        case exports.LOG_EMERGENCY: return 'emergency';
        case exports.LOG_ALERT: return 'alert';
        case exports.LOG_CRITICAL: return 'critical';
        case exports.LOG_ERROR: return 'error';
        case exports.LOG_WARNING: return 'warning';
        case exports.LOG_NOTICE: return 'notice';
        case exports.LOG_INFORMATIONAL: return 'info';
        case exports.LOG_DEBUG: return 'debug';
        default: return '';
    }
}
function logLevelLabel(logLevel) {
    switch (logLevel) {
        case exports.LOG_EMERGENCY: return 'emergency';
        case exports.LOG_ALERT: return 'alert';
        case exports.LOG_CRITICAL: return 'critical';
        case exports.LOG_ERROR: return 'error';
        case exports.LOG_WARNING: return 'warning';
        case exports.LOG_NOTICE: return 'notice';
        case exports.LOG_INFORMATIONAL: return 'info';
        case exports.LOG_DEBUG: return 'debug';
        default: return '';
    }
}
function logLevelLabel ( logLevel ) { switch ( logLevel ) { case exports . LOG_EMERGENCY : return 'emergency' ; case exports . LOG_ALERT : return 'alert' ; case exports . LOG_CRITICAL : return 'critical' ; case exports . LOG_ERROR : return 'error' ; case exports . LOG_WARNING : return 'warning' ; case exports . LOG_NOTICE : return 'notice' ; case exports . LOG_INFORMATIONAL : return 'info' ; case exports . LOG_DEBUG : return 'debug' ; default : return '' ; } }
Get label by syslog level tag
Get label by syslog level tag