lib/Logger.js
function log(logLevel, prefix, args) {
  "use strict";
  if (logLevel > level) {
    return;
  }

  args = Array.prototype.slice.call(args);

  if (typeof args[0] === 'undefined') {
    return;
  }

  var message = args[0];
  args.splice(0, 1, prefix + message);

  console.log.apply(this, args);
}
function log(logLevel, prefix, args) {
  "use strict";
  if (logLevel > level) {
    return;
  }

  args = Array.prototype.slice.call(args);

  if (typeof args[0] === 'undefined') {
    return;
  }

  var message = args[0];
  args.splice(0, 1, prefix + message);

  console.log.apply(this, args);
}
function log ( logLevel , prefix , args ) { "use strict" ; if ( logLevel > level ) { return ; } args = Array . prototype . slice . call ( args ) ; if ( typeof args [ 0 ] === 'undefined' ) { return ; } var message = args [ 0 ] ; args . splice ( 0 , 1 , prefix + message ) ; console . log . apply ( this , args ) ; }
The internal log function

@private
@param {int} logLevel the log level that is allowed
@param prefix the prefix that gets prepended to the message
@param args and object of arguments, usually from global [arguments]
The internal log function