diff --git a/slog.go b/slog.go index be2179f..59238c8 100644 --- a/slog.go +++ b/slog.go @@ -11,7 +11,7 @@ import ( type SLogFormatFct func(level SLogLevel, verbose bool, timeformat string, format string, a ...interface{}) string func defaultSLogFormatFct(level SLogLevel, verbose bool, timeformat string, format string, a ...interface{}) string { - msg := fmt.Sprintf("[%s] - ", SLogLevelToString(level)) + msg := fmt.Sprintf("%s - ", SLogLevelToString(level)) if timeformat != "" { t := time.Now() msg = fmt.Sprintf("%s - %s", t.Format(timeformat), msg)