2016-01-22 21:39:35 +01:00
|
|
|
// +build !go1.5
|
|
|
|
// = go 1.4 or lower
|
|
|
|
|
2016-06-15 23:30:44 +02:00
|
|
|
package tlog
|
2016-01-22 21:39:35 +01:00
|
|
|
|
2016-01-22 21:42:58 +01:00
|
|
|
import (
|
|
|
|
"log/syslog"
|
|
|
|
)
|
|
|
|
|
2016-01-22 21:39:35 +01:00
|
|
|
func (l *toggledLogger) SwitchToSyslog(p syslog.Priority) {
|
2016-06-26 23:30:22 +02:00
|
|
|
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")
|
2016-01-22 21:39:35 +01:00
|
|
|
}
|