code: function log(level) {
    if (log.level >= level) {
      console.log.apply(console, Array.prototype.slice.call(arguments, 1));
    }
  }
docs: /*
  A global logger with the specification `log(level, message, ...)` that
  will log a message to the console if `log.level >= level`.