summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cryptfs/log_go1.4.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cryptfs/log_go1.4.go b/cryptfs/log_go1.4.go
index 6bc6457..4b91bad 100644
--- a/cryptfs/log_go1.4.go
+++ b/cryptfs/log_go1.4.go
@@ -3,6 +3,10 @@
package cryptfs
+import (
+ "log/syslog"
+)
+
func (l *toggledLogger) SwitchToSyslog(p syslog.Priority) {
Debug.Printf("Cannot switch to syslog - need Go 1.5 or higher")
}