mirror of
https://github.com/jeremyd/ergo.git
synced 2026-06-12 07:43:31 -07:00
align up to 10
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user