code: func NewSyslogWriter(network, address string, prio syslog.Priority, tag string) io.Writer {
  	s, err := syslog.Dial(network, address, prio, tag)
  	if err != nil {
  		m := "syslog dial error: " + err.Error()
  		critialLogger.Print(m)
  		panic(m)
  	}
  	return s
  }
docs: // NewSyslogWriter returns a writer ready to be used with output modules.
  // If network and address are empty, Dial will connect to the local syslog server.