- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for LOG_INFO (0.15 sec)
-
src/log/syslog/syslog_test.go
addr, sock, srvWG := startServer(t, tr, "", done) defer srvWG.Wait() defer sock.Close() if tr == "unix" || tr == "unixgram" { defer os.Remove(addr) } s, err := Dial(tr, addr, LOG_INFO|LOG_USER, "syslog_test") if err != nil { t.Fatalf("Dial() failed: %v", err) } err = s.Info(msg) if err != nil { t.Fatalf("log failed: %v", err) } check(t, msg, <-done, tr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 12 16:09:24 UTC 2023 - 9.6K bytes - Viewed (0) -
src/log/syslog/syslog.go
func (w *Writer) Notice(m string) error { _, err := w.writeAndRetry(LOG_NOTICE, m) return err } // Info logs a message with severity [LOG_INFO], ignoring the severity // passed to New. func (w *Writer) Info(m string) error { _, err := w.writeAndRetry(LOG_INFO, m) return err } // Debug logs a message with severity [LOG_DEBUG], ignoring the severity // passed to New.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 23 22:56:07 UTC 2023 - 7.5K bytes - Viewed (0)