summaryrefslogtreecommitdiff
path: root/cryptfs/log_go1.5.go
diff options
context:
space:
mode:
Diffstat (limited to 'cryptfs/log_go1.5.go')
-rw-r--r--cryptfs/log_go1.5.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/cryptfs/log_go1.5.go b/cryptfs/log_go1.5.go
deleted file mode 100644
index 8daae9c..0000000
--- a/cryptfs/log_go1.5.go
+++ /dev/null
@@ -1,17 +0,0 @@
-// +build go1.5
-// = go 1.5 or higher
-
-package cryptfs
-
-import (
- "log/syslog"
-)
-
-func (l *toggledLogger) SwitchToSyslog(p syslog.Priority) {
- w, err := syslog.New(p, PROGRAM_NAME)
- if err != nil {
- Warn.Printf("Cannot switch 0x%02x to syslog: %v", p, err)
- } else {
- l.SetOutput(w)
- }
-}