Skip to content

Logger Extension #1449

Answered by jorenbroekema
cutemiya asked this question in Q&A
Feb 12, 2025 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

No not currently, but I'd definitely be open to adding a new hook "logger" that you can register (registerLogger({...})) or use inline in the config.
I also like the idea of callback messages for logging/warning/erroring. For errors it would call the callback before throwing, so the callback completes before the program exits. I think they should support async callbacks as well.
It would be a pretty significant feature to contribute but if someone is willing to try that would be cool.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cutemiya
Comment options

Answer selected by cutemiya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants