Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LOG_LOCAL7 (0.07 sec)

  1. src/log/syslog/syslog_test.go

    	msg = "Moo 3"
    	err = s.Info(msg)
    	if err != nil {
    		t.Fatalf("log failed: %v", err)
    	}
    	check(t, msg, <-done, net)
    
    	s.Close()
    }
    
    func TestNew(t *testing.T) {
    	if LOG_LOCAL7 != 23<<3 {
    		t.Fatalf("LOG_LOCAL7 has wrong value")
    	}
    	if testing.Short() {
    		// Depends on syslog daemon running, and sometimes it's not.
    		t.Skip("skipping syslog test during -short")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 12 16:09:24 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  2. src/log/syslog/syslog.go

    	LOG_UUCP
    	LOG_CRON
    	LOG_AUTHPRIV
    	LOG_FTP
    	_ // unused
    	_ // unused
    	_ // unused
    	_ // unused
    	LOG_LOCAL0
    	LOG_LOCAL1
    	LOG_LOCAL2
    	LOG_LOCAL3
    	LOG_LOCAL4
    	LOG_LOCAL5
    	LOG_LOCAL6
    	LOG_LOCAL7
    )
    
    // A Writer is a connection to a syslog server.
    type Writer struct {
    	priority Priority
    	tag      string
    	hostname string
    	network  string
    	raddr    string
    
    	mu   sync.Mutex // guards conn
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 22:56:07 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top