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 in @std/log should be async #6186

Open
justinmchase opened this issue Nov 14, 2024 · 0 comments
Open

logging in @std/log should be async #6186

justinmchase opened this issue Nov 14, 2024 · 0 comments

Comments

@justinmchase
Copy link
Contributor

Is your feature request related to a problem? Please describe.

I want to make a logger that pushes logs into a network api but I don't see how its possible with this api.

Describe the solution you'd like

The BaseLogger.log method would need to be async. All methods to log would be promise based.

await logger.info("for example");

Describe alternatives you've considered

Implementing a completely parallel logging system.

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

No branches or pull requests

1 participant