awesome-python icon indicating copy to clipboard operation
awesome-python copied to clipboard

Add logcore: modern structured logging for Python

Open SarkarRana opened this issue 3 months ago • 1 comments

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.

SarkarRana avatar Sep 28 '25 11:09 SarkarRana

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

Alip-Ai avatar Oct 02 '25 18:10 Alip-Ai