From 6c3f97399a01a2d8480b39978209099335efbf7d Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Wed, 15 Jun 2016 23:30:44 +0200 Subject: Rename internal "toggledlog" package to "tlog" 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' {} + --- internal/toggledlog/log_go1.4.go | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 internal/toggledlog/log_go1.4.go (limited to 'internal/toggledlog/log_go1.4.go') diff --git a/internal/toggledlog/log_go1.4.go b/internal/toggledlog/log_go1.4.go deleted file mode 100644 index 4cdba44..0000000 --- a/internal/toggledlog/log_go1.4.go +++ /dev/null @@ -1,12 +0,0 @@ -// +build !go1.5 -// = go 1.4 or lower - -package toggledlog - -import ( - "log/syslog" -) - -func (l *toggledLogger) SwitchToSyslog(p syslog.Priority) { - Debug.Printf("Cannot switch to syslog - need Go 1.5 or higher") -} -- cgit v1.2.3