awesome-python
awesome-python copied to clipboard
Add logcore: modern structured logging for Python
What is this Python project?
LogCore is a modern, production-ready logging library for Python.
It provides:
- Simple one-line setup (
get_logger("app")) - Structured logging (JSON or pretty text)
- Correlation IDs for tracing across services
- Automatic sensitive data redaction
- Timer context manager for measuring execution time
- Async and thread-safe support
- Optional rotating file logging
- Configuration via code or environment variables
What's the difference between this Python project and similar ones?
- vs. built-in logging: no need to configure handlers/formatters manually; JSON logging, redaction, and correlation IDs are supported out of the box.
- vs. loguru: adds correlation IDs, redaction, environment-based config, and async/thread-safe design while keeping a simple API.
- vs. structlog: focuses on ease of adoption with sensible defaults and quick setup, while still supporting structured logs and production-ready features.
--
Anyone who agrees with this pull request could submit an Approve review to it.
What is this Python project?
LogCore is a modern, production-ready logging library for Python. It provides:
- Simple one-line setup (
get_logger("app"))- Structured logging (JSON or pretty text)
- Correlation IDs for tracing across services
- Automatic sensitive data redaction
- Timer context manager for measuring execution time
- Async and thread-safe support
- Optional rotating file logging
- Configuration via code or environment variables
What's the difference between this Python project and similar ones?
- vs. built-in logging: no need to configure handlers/formatters manually; JSON logging, redaction, and correlation IDs are supported out of the box.
- vs. loguru: adds correlation IDs, redaction, environment-based config, and async/thread-safe design while keeping a simple API.
- vs. structlog: focuses on ease of adoption with sensible defaults and quick setup, while still supporting structured logs and production-ready features.
--
Anyone who agrees with this pull request could submit an review to it.
Alip Abdullah