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

Logging framework #13

Open
goaaats opened this issue Nov 15, 2021 · 1 comment
Open

Logging framework #13

goaaats opened this issue Nov 15, 2021 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@goaaats
Copy link
Owner

goaaats commented Nov 15, 2021

log4rs?

@goaaats goaaats added the enhancement New feature or request label Nov 15, 2021
@goaaats goaaats added this to the 1.0 milestone Nov 15, 2021
@goaaats goaaats added the libxl label Nov 15, 2021
@fitzchivalrik
Copy link
Collaborator

Afaiu tracing is where the ecosystem moves too, it is also used by tokio & and at least some parts of core, and it is async aware/can be used better in async situations as it has utilities for that.

I just recently learned about tracing myself, so I am not sure if there is a complete implementation as log4rs for log yet. The afro mentioned link has a section about the ecosystem.
tracing_subscriber provides a simple implementation, and there appears to be tracing-appender for simple file-outputting.

There are also compatible crates to be able to output log statements via tracing.

@goaaats goaaats removed the libxl label Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants