Skip to content

Switch from log to tracing? #61

@RReverser

Description

@RReverser

Looks like ecosystem is increasingly moving towards tracing for logging. log is still supported via backward compatibility, but tracing provides even more features including structural logging of individual values in addition to the message, compatibility with more backends, nested spans for grouping messages and neat attribute that allows to get all of that by simply instrumenting functions.

While not a high priority, I think for debugging it would be useful to integrate with tracing although it might require some care in the Task struct to make sure that it works correctly in asynchronous contexts like tracing's own Instrumented helper.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions