code: function LogentriesBunyanStream(config, options) {
    if (!config || !config.token) throw new Error('config.token must be set');
    Stream.call(this);
  
    this.transform = options && options.transform;
    this.defaultLevel = options && options.defaultLevel || 'info';
    this.writable = true;
  
    config.levels = config.levels || ['debug', 'info', 'notice', 'warning', 'err', 'crit', 'alert', 'emerg'];
    this._logger = new logentries(config);
  }
docs: LogentriesBunyanStream
  
  @param {Object} config Logentries config
  @param {String} config.token
  @param {Function} [config.transform] transforms every log
  @param {String} [config.defaultLevel] (defaults to `info`)