nl_tokens: As opposed to logLevelAllowed () this one doesn t take testlevel since that needs to be figured out in - function .
pl_tokens: function logLevelAllowedGranular ( testlevel ) { if ( ! _granularlevels ) { return ; } var pos = callpositionObj ( ) ; if ( pos ) { var key = 'NODE_LOGGER_LEVEL_' + pos . filename . replace ( / [\.\/] / gi , '_' ) ; if ( key <mask> process . env && process . env [ key ] ) { var thresholdLevel = process . env [ key ] . toLowerCase ( ) ; return logLevelsObj [ testlevel ] <= logLevelsObj [ thresholdLevel ] ; } } }