borntyping / rust-simple_logger

A rust logger that prints all messages with a readable output format.
https://crates.io/crates/simple_logger
MIT License
220 stars 48 forks source link

Feature request: Constant width timestamps #55

Closed borntyping closed 2 years ago

borntyping commented 2 years ago

Is it possible to have a constant width timestamp with version 2.0.0? With version 1.16.0 all messages were perfectly aligned, as there were always 3 decimal places of the second printed, but now I see varying length of decimal places which makes the rest of the log become unaligned.

_Originally posted by @msrd0 in https://github.com/borntyping/rust-simple_logger/issues/50#issuecomment-1016841854_