fix timestamp formatting

This commit is contained in:
Shivaram Lingamneni 2020-04-12 12:56:49 -04:00
parent 6a900ca0cb
commit ded03ee618
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ func (logger *singleLogger) Log(level Level, logType string, messageParts ...str
// assemble full line
var rawBuf bytes.Buffer
fmt.Fprintf(&rawBuf, "%s : %s : %s : ", time.Now().UTC().Format("2006-01-02T15:04:05Z"), LogLevelDisplayNames[level], logType)
fmt.Fprintf(&rawBuf, "%s : %s : %s : ", time.Now().UTC().Format("2006-01-02T15:04:05.000Z"), LogLevelDisplayNames[level], logType)
for i, p := range messageParts {
rawBuf.WriteString(p)