summaryrefslogtreecommitdiff
path: root/internal/tlog/log_go1.4.go
blob: 98d69db7b35843b5ea8e977c68384988e877bc17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// +build !go1.5
// = go 1.4 or lower

package tlog

import (
	"log/syslog"
)

func (l *toggledLogger) SwitchToSyslog(p syslog.Priority) {
	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")
}