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
{{ message }}
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.
With this PR, it would work like this to change the error color:
importlogzeroimportlogginglogzero.DEFAULT_COLORS[logging.ERROR] =logzero.ForegroundColors.GREEN# Now the new colors will already be used:logzero.logger.error('123')
Unless I missed something, there is no direct method to map different colours depending on the log level without extending the LogFormatter class.
The text was updated successfully, but these errors were encountered: