diff --git a/logging.go b/logging.go index a479a2b..43d7b59 100644 --- a/logging.go +++ b/logging.go @@ -53,7 +53,7 @@ func GetLogger(name string) (l *Logger) { } var defaultFormatter Formatter = func(r *Record) string { - return fmt.Sprintf("%s [%s] %s: %s\n", + return fmt.Sprintf("%s [%-8s] %s: %s\n", r.Timestamp.Format("2006/01/02 15:04:05"), r.Level.Name(), r.Logger, strings.TrimSpace(r.Message)) }