Here’s a quick guide on how to get nicely coloured logs when working with Python apps locally.
import coloredlogs
coloredlogs.install(
fmt="%(asctime)s | %(name)s | %(levelname)s | %(message)s", level=logging.INFO
)
Here’s a quick guide on how to get nicely coloured logs when working with Python apps locally.
import coloredlogs
coloredlogs.install(
fmt="%(asctime)s | %(name)s | %(levelname)s | %(message)s", level=logging.INFO
)