an article about #structlog, a library enabling to write logs as #json documents in your #Python applications. I prefer the way to use it (you import the logger factory from structlog), in comparison of #python_json_logger, where you import the library (doing so decorates the native Python logging module) AND the native logging module, from which you retrieve the loggers. The latter approach can break when use formatting tools like isort, which sort the imports.
#python_json_logger #Python #json #structlog