Created by: rpdelaney
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 structlog
which summarizes (a) why structured logging is good and (b) why structlog
is good at structured logging.
Structured logging means that you don’t write hard-to-parse and hard-to-keep-consistent prose in your logs but that you log events that happen in a context instead...
structlog
provides a handy interface for defining a structure for logging and then emitting log messages. It can also act as a handler for the built in logging
module. 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 structlog
is good at it.
--
Anyone who agrees with this pull request could submit an Approve review to it.