You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Produces the following logs. Note that ts is at the end, instead of the beginning, where I would've expected.
[info ] Testing! ts=2023-08-18T21:53:56.587146Z
If I remove the key parameter from the TimeStamper (structlog.processors.TimeStamper(fmt="iso")), the timestamp properly moves to the beginning, as I would expect:
2023-08-18T21:54:50.018921Z [info ] Testing!
Considering that the key parameter is built-into TimeStamper, could ConsoleRenderer be updated to properly render the timestamp where it's supposed to be if you change the key?
I'm also not completely convinced I'm not just doing something wrong, so any help would be appreciated. Thanks!
The text was updated successfully, but these errors were encountered:
The following code:
Produces the following logs. Note that
ts
is at the end, instead of the beginning, where I would've expected.If I remove the
key
parameter from the TimeStamper (structlog.processors.TimeStamper(fmt="iso")
), the timestamp properly moves to the beginning, as I would expect:Considering that the
key
parameter is built-intoTimeStamper
, couldConsoleRenderer
be updated to properly render the timestamp where it's supposed to be if you change thekey
?I'm also not completely convinced I'm not just doing something wrong, so any help would be appreciated. Thanks!
The text was updated successfully, but these errors were encountered: