Logging
Properly colouring and formatting logs:
Now, you can import logger
into any file and call: logger.info
, logger.error
, logger.debug
, etc.
If you want to see debug messages, you need to change the logging.basicConfig
level parameter to "DEBUG"
Last updated