lib/shared/utils.js
function trace() {
      var args = Array.prototype.slice.call(arguments);
      var traceLevel = args.shift();
      if (traceLevel.level & enabledLevels) {
        args.unshift('[' + traceLevel.name + '] ' + new Date().toISOString() + ' - ' + aName + ':');
        console.log.apply(console, args);
      }
    }
function trace() {
      var args = Array.prototype.slice.call(arguments);
      var traceLevel = args.shift();
      if (traceLevel.level & enabledLevels) {
        args.unshift('[' + traceLevel.name + '] ' + new Date().toISOString() + ' - ' + aName + ':');
        console.log.apply(console, args);
      }
    }
function trace ( ) { var args = Array . prototype . slice . call ( arguments ) ; var traceLevel = args . shift ( ) ; if ( traceLevel . level & enabledLevels ) { args . unshift ( '[' + traceLevel . name + '] ' + new Date ( ) . toISOString ( ) + ' - ' + aName + ':' ) ; console . log . apply ( console , args ) ; } }
The first argument is the level, the rest what we want to log
The first argument is the level the rest what we want to log