remove dead code

This commit is contained in:
Matthias Radestock committed 2015-07-15 05:35:05 +01:00
1 parent 97498d26f7
commit 7063ca51aa
1 file changed
-10
-10
View File
@@ -56,13 +56,3 @@ func SetLogLevel(levelname string) {
}
Log.Level = level
}
// For backwards-compatibility with code that only has a boolean
func EnableDebugLogging(flag bool) {
switch {
case flag && Log.Level < logrus.DebugLevel:
Log.Level = logrus.DebugLevel
case !flag && Log.Level >= logrus.DebugLevel:
Log.Level = logrus.InfoLevel
}
}