Skip to content
Snippets Groups Projects
Commit 4445b89e authored by Jan Semmelink's avatar Jan Semmelink
Browse files

Fix cut&paste levels

parent 74820473
Branches
Tags v1.1.9
No related merge requests found
......@@ -44,25 +44,25 @@ func Error(args ...interface{}) {
}
func Warnf(format string, args ...interface{}) {
logger.log(LevelError, 1, fmt.Sprintf(format, args...))
logger.log(LevelWarn, 1, fmt.Sprintf(format, args...))
}
func Warn(args ...interface{}) {
logger.log(LevelError, 1, fmt.Sprint(args...))
logger.log(LevelWarn, 1, fmt.Sprint(args...))
}
func Infof(format string, args ...interface{}) {
logger.log(LevelError, 1, fmt.Sprintf(format, args...))
logger.log(LevelInfo, 1, fmt.Sprintf(format, args...))
}
func Info(args ...interface{}) {
logger.log(LevelError, 1, fmt.Sprint(args...))
logger.log(LevelInfo, 1, fmt.Sprint(args...))
}
func Debugf(format string, args ...interface{}) {
logger.log(LevelError, 1, fmt.Sprintf(format, args...))
logger.log(LevelDebug, 1, fmt.Sprintf(format, args...))
}
func Debug(args ...interface{}) {
logger.log(LevelError, 1, fmt.Sprint(args...))
logger.log(LevelDebug, 1, fmt.Sprint(args...))
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment