index.js
function (level) {
        switch(level) {
            case 10:
                return module.exports.levels.TRACE;
            case 20:
                return module.exports.levels.DEBUG;
            case 40:
                return module.exports.levels.WARN;
            case 50:
                return module.exports.levels.ERROR;
            case 60:
                return module.exports.levels.FATAL;
            default:
                return module.exports.levels.INFO;
        }
    }
function (level) {
        switch(level) {
            case 10:
                return module.exports.levels.TRACE;
            case 20:
                return module.exports.levels.DEBUG;
            case 40:
                return module.exports.levels.WARN;
            case 50:
                return module.exports.levels.ERROR;
            case 60:
                return module.exports.levels.FATAL;
            default:
                return module.exports.levels.INFO;
        }
    }
function ( level ) { switch ( level ) { case 10 : return module . exports . levels . TRACE ; case 20 : return module . exports . levels . DEBUG ; case 40 : return module . exports . levels . WARN ; case 50 : return module . exports . levels . ERROR ; case 60 : return module . exports . levels . FATAL ; default : return module . exports . levels . INFO ; } }
Translates a Bunyan logging level number to the name of the level.

@param {number} level - A Bunyan logging level integer. See {@link SplunkBunyanLogger.levels}
@returns {string}
@memberof SplunkBunyanLogger
Translates a Bunyan logging level number to the name of the level .