davidbarsky / tracing-tree

Apache License 2.0
123 stars 31 forks source link

Adding timestamps to output #48

Closed TmLev closed 1 year ago

TmLev commented 2 years ago

I may have missed it, but how can one add timestamps to output of tracing-tree?

davidbarsky commented 2 years ago

Huh, I thought we could add timestamps to tracing-tree. We should probably add a builder option that accepts a FormatTime.

TmLev commented 2 years ago

I've tried to implement it in #49, but I'm having trouble with FormatTime::format_time and Writer: https://github.com/davidbarsky/tracing-tree/pull/49#discussion_r922506986

ten3roberts commented 1 year ago

It seems that this issue and the linked ones haven't had any update for quite some time.

Is there any progress being done or is there something blocking these issues, or something else entirely?

I am just asking because I prefer tracing_tree over tracing_subscriber::fmt at it is easier to see what called what, and if it was called inside the same function invocation or not.

Thanks

TmLev commented 1 year ago

Sorry, I didn't have enough time to finish #49 (yes, I know, it shouldn't be too much work). I'll try again this week, but can't guarantee anything.

belyakov-am commented 1 year ago

Also very interested