Add milliseconds to logging

This patch adds milliseconds to the time string used for logging. This
helps when debugging some timing issues and should have no real negative
side effect.
This commit is contained in:
Lars Kiesow
2023-11-19 20:36:04 +01:00
parent 89eb857c14
commit 91fa78d740

View File

@@ -11,7 +11,7 @@ class Logger {
}
get timestamp() {
return date.format(new Date(), 'YYYY-MM-DD HH:mm:ss')
return date.format(new Date(), 'YYYY-MM-DD HH:mm:ss.SSS')
}
get levelString() {