Fix missing var args expansion.

This commit is contained in:
Antoine Grondin 2014-07-23 17:46:43 -04:00
parent 9a0c9801d6
commit beee753015
1 changed files with 6 additions and 6 deletions

View File

@ -58,30 +58,30 @@ func WithFields(fields Fields) *Entry {
// Debug logs a message at level Debug on the standard logger.
func Debug(args ...interface{}) {
std.Debug(args)
std.Debug(args...)
}
// Info logs a message at level Info on the standard logger.
func Info(args ...interface{}) {
std.Info(args)
std.Info(args...)
}
// Warn logs a message at level Warn on the standard logger.
func Warn(args ...interface{}) {
std.Warn(args)
std.Warn(args...)
}
// Error logs a message at level Error on the standard logger.
func Error(args ...interface{}) {
std.Error(args)
std.Error(args...)
}
// Panic logs a message at level Panic on the standard logger.
func Panic(args ...interface{}) {
std.Panic(args)
std.Panic(args...)
}
// Fatal logs a message at level Fatal on the standard logger.
func Fatal(args ...interface{}) {
std.Fatal(args)
std.Fatal(args...)
}