mirror of
https://github.com/vinta/awesome-python.git
synced 2026-05-07 22:28:47 -05:00
[PR #1576] [MERGED] Add structlog #8094
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/vinta/awesome-python/pull/1576
Author: @rpdelaney
Created: 7/15/2020
Status: ✅ Merged
Merged: 7/15/2020
Merged by: @vinta
Base:
master← Head:structlog📝 Commits (1)
bbab941Add structlog📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
README.md(+1 -0)📄 Description
What is this Python project?
Originally proposed back in 2015 with #321, the project is much more mature now.
I will crib some from the why page for
structlogwhich summarizes (a) why structured logging is good and (b) whystructlogis good at structured logging.structlogprovides a handy interface for defining a structure for logging and then emitting log messages. It can also act as a handler for the built inloggingmodule. It can handle encoding, capture user-defined elements of a call stack to log a context, pretty-print (including colorized) log messages for local development, format timestamps, filter log messages by level, and many more....Testing mechanisms are provided that hook neatly into
pytest.What's the difference between this Python project and similar ones?
Structured logging! Here is a video about why structured logging is good, and why
structlogis good at it.--
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.