Python - Logging

Created: Last Updated:
    • structlog - - #opensource #python Lists: Python - Logging My notes: Structured Logging for Python; supports output as JSON, logfmt, plaintext. - Standard Library support: https://www.structlog.org/en/stable/standard-library.html - Building a Context: https://www.structlog.org/en/stable/getting-started.html#building-a-context Added on: 2024-08-21
    • loguru - - #opensource #python Lists: Python - Logging My notes: - Compatible with standard logging: https://loguru.readthedocs.io/en/stable/overview.html#entirely-compatible-with-standard-logging - Django integration using InterceptHandler: https://github.com/Delgan/loguru/issues/977#issuecomment-1771575984 - Logger.bind: https://loguru.readthedocs.io/en/stable/api/logger.html#loguru._logger.Logger.bind Added on: 2023-07-03