1
0
mirror of https://github.com/netbirdio/netbird.git synced 2025-07-10 11:26:55 +02:00

Remove fractions of seconds

This commit is contained in:
Viktor Liu
2025-01-03 15:18:36 +01:00
parent fc799effda
commit c68be6b61b

@ -87,7 +87,7 @@ func (l *Logger) formatMessage(buf *[]byte, level Level, format string, args ...
*buf = (*buf)[:0] *buf = (*buf)[:0]
// Timestamp // Timestamp
*buf = time.Now().AppendFormat(*buf, "2006-01-02T15:04:05.000000-07:00") *buf = time.Now().AppendFormat(*buf, "2006-01-02T15:04:05-07:00")
*buf = append(*buf, ' ') *buf = append(*buf, ' ')
// Level // Level