diff options
Diffstat (limited to 'internal/tlog/log_go1.4.go')
-rw-r--r-- | internal/tlog/log_go1.4.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/internal/tlog/log_go1.4.go b/internal/tlog/log_go1.4.go new file mode 100644 index 0000000..fae0e9b --- /dev/null +++ b/internal/tlog/log_go1.4.go @@ -0,0 +1,12 @@ +// +build !go1.5 +// = go 1.4 or lower + +package tlog + +import ( + "log/syslog" +) + +func (l *toggledLogger) SwitchToSyslog(p syslog.Priority) { + Debug.Printf("Cannot switch to syslog - need Go 1.5 or higher") +} |