-
Notifications
You must be signed in to change notification settings - Fork 26.5k
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
+1
−0
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Alip-Ai
Alip-Ai
suggested changes
Oct 2, 2025
@Alip-Ai
Alip-Ai
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alip-Abdullah
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
Alip-Ai
approved these changes
Oct 2, 2025
sahil3120
sahil3120
approved these changes
Oct 6, 2025
Aryan3455-thakur
Aryan3455-thakur
approved these changes
Oct 9, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
What is this Python project?
LogCore is a modern, production-ready logging library for Python.
It provides:
get_logger("app")
)What's the difference between this Python project and similar ones?
--
Anyone who agrees with this pull request could submit an Approve review to it.