-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Open
Description
I would suggest that alongside microsecond or second resolution Go log library would also have millisecond timestamp resolution.
Existing implementation has only microsecond or second resolution, but microsecond resolution could be seen as too precise (access to logs could be used for help with side channel attacks) while second resolution is not precise enough, at least for me, to grasp the evolution of events when many happen at the same time.
This would add the Lmilliseconds
flag.
I have made draft of the implementation here https://go-review.googlesource.com/c/go/+/495298 and it seems pretty minimal (#60246).
nhynes, nebiros, mauri870, distinctdan and SunRunAway
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Incoming