Skip to content

Conversation

@art-of-dom
Copy link

This PR changes the ts behavior of Emitters over V1 to use the logger record instead of the current time when the emitter is invoked.

V0 already had this behavior and while on most systems doing time.time will be pretty close, it can drift quite a bit when doing a logging queue with retries.

I'm open to a more complex approach where you could use either the record created or current time, but since I couldn't open an issue on this repo I'd figure I use the base PR making the swap as that discussion.

Copy link
Owner

@RomanR-dev RomanR-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@RomanR-dev RomanR-dev merged commit 7d4df1d into RomanR-dev:master Dec 12, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants