- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 168 for syslog (0.14 sec)
-
src/log/syslog/syslog.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build !windows && !plan9 package syslog import ( "errors" "fmt" "log" "net" "os" "strings" "sync" "time" ) // The Priority is a combination of the syslog facility and // severity. For example, [LOG_ALERT] | [LOG_FTP] sends an alert severity
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 23 22:56:07 UTC 2023 - 7.5K bytes - Viewed (0) -
src/log/syslog/syslog_test.go
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") } s, err := New(LOG_INFO|LOG_USER, "the_tag") if err != nil { if err.Error() == "Unix syslog delivery error" { t.Skip("skipping: syslogd not running") } t.Fatalf("New() failed: %s", err) } // Don't send any messages.
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/example_test.go
//go:build !windows && !plan9 package syslog_test import ( "fmt" "log" "log/syslog" ) func ExampleDial() { sysLog, err := syslog.Dial("tcp", "localhost:1234", syslog.LOG_WARNING|syslog.LOG_DAEMON, "demotag") if err != nil { log.Fatal(err) } fmt.Fprintf(sysLog, "This is a daemon warning with demotag.") sysLog.Emerg("And this is a daemon emergency with demotag.")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 541 bytes - Viewed (0) -
src/log/syslog/doc.go
// license that can be found in the LICENSE file. // Package syslog provides a simple interface to the system log // service. It can send messages to the syslog daemon using UNIX // domain sockets, UDP or TCP. // // Only one call to Dial is necessary. On write failures, // the syslog client will attempt to reconnect to the server // and write again. // // The syslog package is frozen and is not accepting new features.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 935 bytes - Viewed (0) -
src/log/syslog/syslog_unix.go
//go:build !windows && !plan9 package syslog import ( "errors" "net" ) // unixSyslog opens a connection to the syslog daemon running on the // local machine using a Unix domain socket. func unixSyslog() (conn serverConn, err error) { logTypes := []string{"unixgram", "unix"} logPaths := []string{"/dev/log", "/var/run/syslog", "/var/run/log"} for _, network := range logTypes {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 758 bytes - Viewed (0) -
api/go1.13.txt
pkg log/syslog (netbsd-arm64), const LOG_CRIT = 2 pkg log/syslog (netbsd-arm64), const LOG_CRIT Priority pkg log/syslog (netbsd-arm64), const LOG_CRON = 72 pkg log/syslog (netbsd-arm64), const LOG_CRON Priority pkg log/syslog (netbsd-arm64), const LOG_DAEMON = 24 pkg log/syslog (netbsd-arm64), const LOG_DAEMON Priority pkg log/syslog (netbsd-arm64), const LOG_DEBUG = 7 pkg log/syslog (netbsd-arm64), const LOG_DEBUG Priority
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 08 18:44:16 UTC 2019 - 452.6K bytes - Viewed (0) -
api/go1.1.txt
pkg log/syslog (darwin-386), const LOG_DAEMON = 24 pkg log/syslog (darwin-386), const LOG_DAEMON Priority pkg log/syslog (darwin-386), const LOG_DEBUG = 7 pkg log/syslog (darwin-386), const LOG_EMERG = 0 pkg log/syslog (darwin-386), const LOG_ERR = 3 pkg log/syslog (darwin-386), const LOG_FTP = 88 pkg log/syslog (darwin-386), const LOG_FTP Priority pkg log/syslog (darwin-386), const LOG_INFO = 6
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 2.6M bytes - Viewed (0) -
api/go1.2.txt
pkg log/syslog (freebsd-arm), const LOG_AUTH Priority pkg log/syslog (freebsd-arm), const LOG_AUTHPRIV Priority pkg log/syslog (freebsd-arm), const LOG_CRIT Priority pkg log/syslog (freebsd-arm), const LOG_CRON Priority pkg log/syslog (freebsd-arm), const LOG_DAEMON Priority pkg log/syslog (freebsd-arm), const LOG_DEBUG Priority pkg log/syslog (freebsd-arm), const LOG_EMERG Priority pkg log/syslog (freebsd-arm), const LOG_ERR Priority
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 18 04:36:59 UTC 2013 - 1.9M bytes - Viewed (0) -
api/go1.14.txt
pkg log/syslog (freebsd-arm64), const LOG_ERR = 3 pkg log/syslog (freebsd-arm64), const LOG_ERR Priority pkg log/syslog (freebsd-arm64), const LOG_FTP = 88 pkg log/syslog (freebsd-arm64), const LOG_FTP Priority pkg log/syslog (freebsd-arm64), const LOG_INFO = 6 pkg log/syslog (freebsd-arm64), const LOG_INFO Priority pkg log/syslog (freebsd-arm64), const LOG_KERN = 0 pkg log/syslog (freebsd-arm64), const LOG_KERN Priority
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 508.9K bytes - Viewed (0) -
api/go1.16.txt
pkg log/syslog (darwin-arm64), const LOG_ERR = 3 pkg log/syslog (darwin-arm64), const LOG_ERR Priority pkg log/syslog (darwin-arm64), const LOG_FTP = 88 pkg log/syslog (darwin-arm64), const LOG_FTP Priority pkg log/syslog (darwin-arm64), const LOG_INFO = 6 pkg log/syslog (darwin-arm64), const LOG_INFO Priority pkg log/syslog (darwin-arm64), const LOG_KERN = 0 pkg log/syslog (darwin-arm64), const LOG_KERN Priority
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 02 16:30:41 UTC 2022 - 479.2K bytes - Viewed (0)