Skip to content

Commit

Permalink
Add milliseconds to logging
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lkiesow committed Nov 19, 2023
1 parent 89eb857 commit 91fa78d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/Logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 91fa78d

Please sign in to comment.