You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since you said, you wanted coloredlogs to be 'logging done right', I thought, you might appreciate this unanswered question I hand on logging multiple similar messages.
To summarize: Logging multiple very similar messages in a loop should be summarized in the logs without adding every single message.
import logging
for i in range(999):
logging.info("much of the same") # fills logs very quickly
Should give something like:
> INFO:root:foo much of the sam (occured 999 times)
It seems to be a feature that no one else has. Thought you might like the challenge.
The text was updated successfully, but these errors were encountered:
Since you said, you wanted
coloredlogs
to be 'logging done right', I thought, you might appreciate this unanswered question I hand on logging multiple similar messages.To summarize: Logging multiple very similar messages in a loop should be summarized in the logs without adding every single message.
Should give something like:
It seems to be a feature that no one else has. Thought you might like the challenge.
The text was updated successfully, but these errors were encountered: