src/artoo.log.js
function isAllowed(level) {
    var threshold = artoo.settings.log.level;

    if (artoo.helpers.isArray(threshold))
      return !!~threshold.indexOf(level);
    else
      return priorities.indexOf(level) >=
        priorities.indexOf(threshold);
  }
function isAllowed(level) {
    var threshold = artoo.settings.log.level;

    if (artoo.helpers.isArray(threshold))
      return !!~threshold.indexOf(level);
    else
      return priorities.indexOf(level) >=
        priorities.indexOf(threshold);
  }
function isAllowed ( level ) { var threshold = artoo . settings . log . level ; if ( artoo . helpers . isArray ( threshold ) ) return ! ! ~ threshold . indexOf ( level ) ; else return priorities . indexOf ( level ) >= priorities . indexOf ( threshold ) ; }
Is the level allowed to log?
Is the level allowed to log?