]> Cypherpunks repositories - gostls13.git/commitdiff
log/syslog: add stub for Plan 9
authorAkshat Kumar <seed@mail.nanosouffle.net>
Thu, 27 Dec 2012 00:45:03 +0000 (11:45 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Thu, 27 Dec 2012 00:45:03 +0000 (11:45 +1100)
Proper local system log semantics still need to be
created for Plan 9. In the meantime, the test suite
(viz., exp/gotype) expects there to be some Go
source for each import path. Thus, here is a stub,
equivalent to syslog_windows, for this purpose.

R=golang-dev, rsc, alex.brainman
CC=golang-dev
https://golang.org/cl/7000062

src/pkg/log/syslog/syslog_plan9.go [new file with mode: 0644]

diff --git a/src/pkg/log/syslog/syslog_plan9.go b/src/pkg/log/syslog/syslog_plan9.go
new file mode 100644 (file)
index 0000000..0c05f6f
--- /dev/null
@@ -0,0 +1,8 @@
+// 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.