aboutsummaryrefslogtreecommitdiff
path: root/internal/tlog/log_go1.4.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/tlog/log_go1.4.go')
-rw-r--r--internal/tlog/log_go1.4.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/tlog/log_go1.4.go b/internal/tlog/log_go1.4.go
index fae0e9b..98d69db 100644
--- a/internal/tlog/log_go1.4.go
+++ b/internal/tlog/log_go1.4.go
@@ -8,5 +8,9 @@ import (
)
func (l *toggledLogger) SwitchToSyslog(p syslog.Priority) {
- Debug.Printf("Cannot switch to syslog - need Go 1.5 or higher")
+ Info.Printf("Cannot switch to syslog - need Go 1.5 or higher")
+}
+
+func SwitchLoggerToSyslog(p syslog.Priority) {
+ Info.Printf("Cannot switch to syslog - need Go 1.5 or higher")
}