code: function debug(name) {
    function disabled(){}
    disabled.enabled = false;
  
    var match = skips.some(function(re){
      return re.test(name);
    });
  
    if (match) return disabled;
  
    match = names.some(function(re){
      return re.test(name);
    });
  
    if (!match) return disabled;
  
    function logger(msg) {
      msg = (msg instanceof Error) ? (msg.stack || msg.message) : msg;
      Function.prototype.apply.call(logger.log, this, arguments);
    }
  
    logger.log = exports.log;
    logger.enabled = true;
  
    return logger;
  }
docs: Create a debugger with the given `name`.
  
  @param {String} name
  @return {Type}
  @api public