[PR #2765] Add logcore: modern structured logging for Python #2078

Open
opened 2025-11-06 13:29:02 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/vinta/awesome-python/pull/2765
Author: @SarkarRana
Created: 9/28/2025
Status: 🔄 Open

Base: masterHead: master


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)

📄 Description

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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/vinta/awesome-python/pull/2765 **Author:** [@SarkarRana](https://github.com/SarkarRana) **Created:** 9/28/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`163ca37`](https://github.com/vinta/awesome-python/commit/163ca37ff2d33a8ee500441e2bbb1c40353f3ee4) Update README.md ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) </details> ### 📄 Description ## What is this Python project? [LogCore](https://github.com/SarkarRana/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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-06 13:29:02 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-python#2078