code: function logger(appName, options) {
      var namespace, log, error;
  
      options = options ? options : {};
  
      // merge our default options with the user supplied
      options = xtend({
          depth: 1,
          randomColors: false,
          logColor: 7,
          errorColor: 1,
      }, options);
  
      // get the filename which is used as the namespace for the debug module.
      namespace = _buildNamespace(appName, options.depth);
  
      // setup two debug'ers, one for console.log and one for console.error
      log = debug(namespace);
      // bind the log to console.log
      log.log = console.log.bind(console);
  
      error = debug(namespace);
      // this should happen by default, but just to be sure...
      error.log = console.error.bind(console);
  
      // if we don't want random colors, assign log to options.logColor (default: white (7))
      // and error to options.errorColor (default: red (1))
      if (!options.randomColors) {
          log.color = options.logColor;
          error.color = options.errorColor;
      }
  
      return {
          // return the two debug'ers under the log and error functions
          log: log,
          error: error,
          // include the namespace in case the client needs it
          namespace: namespace
      };
  }
docs: Creates the `debug` object using the namespace built from the `appName`
  and calling filename. Creates 2 loggers, one for log, one for error.
  
  @param  {String} appName The application name, used in the namespace
  @param  {Object} options Optional: The options to use for configuration
  
  @return {Object}         An object with two debug'ers: log and error,
  alone with the namespace used for the logger