dist/utils.js
function failFast(logLevel, lessThan) {
    var ll = LatticeLogs;

    if (logLevel) {
      var compareTo = lessThan || process.env.LATTICE_LOGLEVEL || ll.ERROR;
      if (!ll.equalOrBelow(logLevel, compareTo)) return true;
    }

    return /\b(NONE|OFF|NO|0)\b/i.test(process.env.LATTICE_ERRORS || '');
  }
function failFast(logLevel, lessThan) {
    var ll = LatticeLogs;

    if (logLevel) {
      var compareTo = lessThan || process.env.LATTICE_LOGLEVEL || ll.ERROR;
      if (!ll.equalOrBelow(logLevel, compareTo)) return true;
    }

    return /\b(NONE|OFF|NO|0)\b/i.test(process.env.LATTICE_ERRORS || '');
  }
function failFast ( logLevel , lessThan ) { var ll = LatticeLogs ; if ( logLevel ) { var compareTo = lessThan || process . env . LATTICE_LOGLEVEL || ll . ERROR ; if ( ! ll . equalOrBelow ( logLevel , compareTo ) ) return true ; } return / \b(NONE|OFF|NO|0)\b / i . test ( process . env . LATTICE_ERRORS || '' ) ; }
A function that, when it returns true, will cause logging to be skipped
A function that when it returns true will cause logging to be skipped