From 11d1d96d71e427771b7f52a6c3837a758a036fbc Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Sun, 12 Apr 2020 13:45:24 -0400 Subject: [PATCH] align up to 10 --- irc/logger/logger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/logger/logger.go b/irc/logger/logger.go index cfd249bc..78ea0b5a 100644 --- a/irc/logger/logger.go +++ b/irc/logger/logger.go @@ -229,7 +229,7 @@ func (logger *singleLogger) Log(level Level, logType string, messageParts ...str var rawBuf bytes.Buffer // XXX magic number here: 9 is len("listeners"), the longest log category name // in current use. it's not a big deal if this number gets out of date. - fmt.Fprintf(&rawBuf, "%s : %-5s : %-9s : ", time.Now().UTC().Format("2006-01-02T15:04:05.000Z"), LogLevelDisplayNames[level], logType) + fmt.Fprintf(&rawBuf, "%s : %-5s : %-10s : ", time.Now().UTC().Format("2006-01-02T15:04:05.000Z"), LogLevelDisplayNames[level], logType) for i, p := range messageParts { rawBuf.WriteString(p)