code: function SyslogStream(opts) {
          assert.object(opts, 'options');
          assert.optionalNumber(opts.facility, 'options.facility');
          assert.optionalString(opts.name, 'options.name');
  
          Stream.call(this);
  
          this.facility = opts.facility || 1;
          this.name = opts.name || process.title || process.argv[0];
          this.writable = true;
  
          if (this.constructor.name === 'SyslogStream') {
                  binding.openlog(this.name, binding.LOG_CONS, 0);
                  process.nextTick(this.emit.bind(this, 'connect'));
          }
  }
docs: --- API