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
@SuperQ and I have both called this out in a few places; finally
remembering to fix it.
Prometheus has a UTC policy for logging because UTC is also used for
metrics and so they should correlate.
Before:
```
=== RUN TestDynamicLevels/slog_log_style
time=2024-12-02T13:51:08.463-05:00 level=INFO source=slog_test.go:120 msg=info hello=world
time=2024-12-02T13:51:08.463-05:00 level=DEBUG source=slog_test.go:121 msg=debug hello=world
```
After:
```
=== RUN TestDynamicLevels/slog_log_style
time=2024-12-04T19:51:59.813Z level=INFO source=slog_test.go:120 msg=info hello=world
time=2024-12-04T19:51:59.813Z level=DEBUG source=slog_test.go:121 msg=debug hello=world
```
Signed-off-by: TJ Hoplock <[email protected]>
0 commit comments