Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add logcore: modern structured logging for Python #2765

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
SarkarRana wants to merge 1 commit into vinta:master
base: master
Choose a base branch
Loading
from SarkarRana:master

Conversation

Copy link

@SarkarRana SarkarRana commented Sep 28, 2025
edited
Loading

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.

Alip-Ai reacted with thumbs up emoji
Copy link

@Alip-Ai Alip-Ai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alip-Abdullah

Copy link

Alip-Ai commented Oct 2, 2025
edited
Loading

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 reacted with thumbs up emoji 25-Anwesh-ece and Alip-Ai reacted with hooray emoji Alip-Ai reacted with heart emoji Alip-Ai reacted with rocket emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

3 more reviewers

@sahil3120 sahil3120 sahil3120 approved these changes

@Aryan3455-thakur Aryan3455-thakur Aryan3455-thakur approved these changes

@Alip-Ai Alip-Ai Alip-Ai approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /