Get colored logs for Python

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
)