lib/log_stream.js
function LogStream(jenkins, opts) {
  var self = this;

  events.EventEmitter.call(self);

  self._jenkins = jenkins;

  opts = opts || {};

  self._delay = opts.delay || 1000;
  delete opts.delay;

  self._opts = {};
  for (var key in opts) {
    if (opts.hasOwnProperty(key)) {
      self._opts[key] = opts[key];
    }
  }
  self._opts.meta = true;

  process.nextTick(function() { self._run(); });
}
function LogStream(jenkins, opts) {
  var self = this;

  events.EventEmitter.call(self);

  self._jenkins = jenkins;

  opts = opts || {};

  self._delay = opts.delay || 1000;
  delete opts.delay;

  self._opts = {};
  for (var key in opts) {
    if (opts.hasOwnProperty(key)) {
      self._opts[key] = opts[key];
    }
  }
  self._opts.meta = true;

  process.nextTick(function() { self._run(); });
}
function LogStream ( jenkins , opts ) { var self = this ; events . EventEmitter . call ( self ) ; self . _jenkins = jenkins ; opts = opts || { } ; self . _delay = opts . delay || 1000 ; delete opts . delay ; self . _opts = { } ; for ( var key in opts ) { if ( opts . hasOwnProperty ( key ) ) { self . _opts [ key ] = opts [ key ] ; } } self . _opts . meta = true ; process . nextTick ( function ( ) { self . _run ( ) ; } ) ; }
Initialize a new `LogStream` instance.
Initialize a new LogStream instance .