6c3f97399a
tlog is used heavily everywhere and deserves a shorter name. Renamed using sed magic, without any manual rework: find * -type f -exec sed -i 's/toggledlog/tlog/g' {} +
13 lines
206 B
Go
13 lines
206 B
Go
// +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")
|
|
}
|