diff options
author | Shenghou Ma <minux@golang.org> | 2015-04-22 16:27:59 -0400 |
---|---|---|
committer | Minux Ma <minux@golang.org> | 2015-04-22 21:09:53 +0000 |
commit | 43618e62ca387faf2272308a46fed9378fa36a87 (patch) | |
tree | e34c9d96ce05d9a94e92b426df784e7cc1e5ff68 /src/log | |
parent | 68f55700320cb6d4d5a63a6c1e0f2c4f31c01203 (diff) | |
download | go-43618e62ca387faf2272308a46fed9378fa36a87.tar.gz go-43618e62ca387faf2272308a46fed9378fa36a87.zip |
log/syslog: make the BUG notes visible on golang.org
It was only visible when you run godoc with explicit GOOS=windows,
which is less useful for people developing portable application on
non-windows platforms.
Also added a note that log/syslog is not supported on NaCl.
Change-Id: I81650445fb2a5ee161da7e0608c3d3547d5ac2a6
Reviewed-on: https://go-review.googlesource.com/9245
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/log')
-rw-r--r-- | src/log/syslog/doc.go | 18 | ||||
-rw-r--r-- | src/log/syslog/syslog.go | 7 | ||||
-rw-r--r-- | src/log/syslog/syslog_plan9.go | 8 | ||||
-rw-r--r-- | src/log/syslog/syslog_windows.go | 8 |
4 files changed, 18 insertions, 23 deletions
diff --git a/src/log/syslog/doc.go b/src/log/syslog/doc.go new file mode 100644 index 0000000000..54e76edb34 --- /dev/null +++ b/src/log/syslog/doc.go @@ -0,0 +1,18 @@ +// 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. +package syslog + +// BUG(brainman): This package is not implemented on Windows yet. + +// BUG(akumar): This package is not implemented on Plan 9 yet. + +// BUG(minux): This package is not implemented on NaCl (Native Client) yet. diff --git a/src/log/syslog/syslog.go b/src/log/syslog/syslog.go index 5e09599162..4bf447626f 100644 --- a/src/log/syslog/syslog.go +++ b/src/log/syslog/syslog.go @@ -4,13 +4,6 @@ // +build !windows,!nacl,!plan9 -// 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. package syslog import ( diff --git a/src/log/syslog/syslog_plan9.go b/src/log/syslog/syslog_plan9.go deleted file mode 100644 index 0c05f6f83c..0000000000 --- a/src/log/syslog/syslog_plan9.go +++ /dev/null @@ -1,8 +0,0 @@ -// 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. -package syslog - -// BUG(akumar): This package is not implemented on Plan 9 yet. diff --git a/src/log/syslog/syslog_windows.go b/src/log/syslog/syslog_windows.go deleted file mode 100644 index 8d99e2e594..0000000000 --- a/src/log/syslog/syslog_windows.go +++ /dev/null @@ -1,8 +0,0 @@ -// 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. -package syslog - -// BUG(brainman): This package is not implemented on Windows yet. |