golang doc 代码
文件路径:/src/log/syslog/doc.go
/ Copyright 2012 The Go Authors. All rights reserved.
/ Use of this source code is governed by a BSD-style
/ 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.
/ Some external packages provide more functionality. See:
/
/ https://godoc.org/?q=syslog
package syslog
/ BUG(brainman): This package is not implemented on Windows. As the
/ syslog package is frozen, Windows users are encouraged to
/ use a package outside of the standard library. For background,
/ see https://golang.org/issue/1108.
/ BUG(akumar): This package is not implemented on Plan 9.