docs: function (config) {
      /** @type {SplunkLogger} */
      this.logger = new SplunkLogger(config);
  
      // If using the common logger's default name, change it
      if (this.logger.config.name.match("splunk-javascript-logging/\\d+\\.\\d+\\.\\d+")) {
          this.logger.config.name = "splunk-bunyan-logger/0.10.1";
      }
  
      // Overwrite the common library's error callback
      var that = this;
      this.logger.error = function(err, context) {
          that.emit("error", err, context);
      };
  
      /* jshint unused:false */
      /**
       * A callback function called after sending a request to Splunk:
       *  <code>function(err, response, body)</code>. Defaults
       * to an empty function.
       *
       * @type {function}
       */
      this.send = function(err, resp, body) {};
  }