Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LOG_USER (0.09 sec)

  1. src/log/syslog/syslog_test.go

    	tests := []struct {
    		pri Priority
    		pre string
    		msg string
    		exp string
    	}{
    		{LOG_USER | LOG_ERR, "syslog_test", "", "%s %s syslog_test[%d]: \n"},
    		{LOG_USER | LOG_ERR, "syslog_test", "write test", "%s %s syslog_test[%d]: write test\n"},
    		// Write should not add \n if there already is one
    		{LOG_USER | LOG_ERR, "syslog_test", "write test 2\n", "%s %s syslog_test[%d]: write test 2\n"},
    	}
    
    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_NOTICE
    	LOG_INFO
    	LOG_DEBUG
    )
    
    const (
    	// Facility.
    
    	// From /usr/include/sys/syslog.h.
    	// These are the same up to LOG_FTP on Linux, BSD, and OS X.
    	LOG_KERN Priority = iota << 3
    	LOG_USER
    	LOG_MAIL
    	LOG_DAEMON
    	LOG_AUTH
    	LOG_SYSLOG
    	LOG_LPR
    	LOG_NEWS
    	LOG_UUCP
    	LOG_CRON
    	LOG_AUTHPRIV
    	LOG_FTP
    	_ // unused
    	_ // unused
    	_ // unused
    	_ // unused
    	LOG_LOCAL0
    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