src/core/utils.js
function hasLogLevel(tags, searchLogLevels) {
    var logLevel = tags.filter(function (tag) { return searchLogLevels.indexOf(tag) !== -1; });
    return logLevel.length ? logLevel[0] : '';
}
function hasLogLevel(tags, searchLogLevels) {
    var logLevel = tags.filter(function (tag) { return searchLogLevels.indexOf(tag) !== -1; });
    return logLevel.length ? logLevel[0] : '';
}
function hasLogLevel ( tags , searchLogLevels ) { var logLevel = tags . filter ( function ( tag ) { return searchLogLevels . indexOf ( tag ) !== - 1 ; } ) ; return logLevel . length ? logLevel [ 0 ] : '' ; }
Check if list of tags has log level from searchLogLevels array
Returns first met tag or empty string if log level not found
Check if list of tags has log level from searchLogLevels array Returns first met tag or empty string if log level not found