Replies: 1 comment
-
You can set the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When logging using RichHandler I want to export the logs from the console to a HTML file.
When calling export_html(), only what I print() or log() directly on the console instance is exported, the rest (logged from
logging
module), is displayed in the console but not in the exported file.How can I also save the logged messages to the file?
Note: I do enjoy the simple formatting that logging gives me (The "INFO", "DEBUG" messages and the overflow of the text. That's why I don't use console.log()), if there is a simple solution using this approach I would be glad to hear about it.
Beta Was this translation helpful? Give feedback.
All reactions