code: func NewSyslogOutput(facility SyslogPriority, tag string) (
  	TextOutput, error) {
  	w, err := syslog.New(syslog.Priority(facility), tag)
  	if err != nil {
  		return nil, err
  	}
  	return &SyslogOutput{w: w}, nil
  }
docs: // NewSyslogOutput returns a TextOutput object that writes to syslog using
  // the given facility and tag. The log level will be determined by the log
  // event.