Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timestamp in browser mode #787

Closed
anton-johansson opened this issue Oct 12, 2020 · 1 comment
Closed

Timestamp in browser mode #787

anton-johansson opened this issue Oct 12, 2020 · 1 comment
Labels
question This issue asks a question or requests usage support

Comments

@anton-johansson
Copy link

I'm testing out this library to track various events in my frontend code (React re-renders, registering of event listeners, unregistering of them, events for them, etc).

This is great, because I can easily say which events I want to track. I would like to print a timestamp at the start of each message in the browser console. However, the timestamp is of course shown after namespace, so it's making it a bit hard to read...

listener:event 15:30:41.968 - Setting value for property 'myProperty' to 'myValue' +901ms
render:TextField 15:30:41.971 - Rendering TextField for property 'myProperty' +881ms
listener:event 15:30:42.507 - Setting value for property 'myProperty' to 'myValueX' +539ms
render:TextField 15:30:42.509 - Rendering TextField for property 'myProperty' +537ms

Ideas?

@Qix-
Copy link
Member

Qix- commented Sep 12, 2021

Yeah I agree it's strange but unfortunately it's not something I can change until v5. #556 will allow you to do this, and as such I'll close this one as a duplicate.

Feel free to turn on notifications for that issue to hear back when things have changed.

@Qix- Qix- closed this as completed Sep 12, 2021
@Qix- Qix- added the question This issue asks a question or requests usage support label Sep 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This issue asks a question or requests usage support
Development

No branches or pull requests

2 participants