pygogo
bracelogger
pygogo | bracelogger | |
---|---|---|
2 | 2 | |
281 | 2 | |
- | - | |
1.9 | 3.2 | |
2 months ago | 3 months ago | |
Python | Python | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pygogo
-
Logging in Python Like a Pro
I'd just like to plug my lib, pygogo (https://github.com/reubano/pygogo). Here's a structured log example taken from the docs.
import pygogo as gogo
-
Saturday Daily Thread: Resource Request and Sharing!
Do folks use existing logging libraries like pygogo or loguru (or any others), or generally roll your own using the built-in library?
bracelogger
-
Logging in Python Like a Pro
As there are real advantages to providing a template and object args separately, this is a bit of a shame since it pushes people to use pre-formatted strings without any args instead.
I fixed this for myself by writing bracelogger[0]. If this is a pain point for you too, you might find it useful.
[0]: https://github.com/pR0Ps/bracelogger
- bracelogger v1.1.0 - easily use new-style formatting in your log messages!
What are some alternatives?
Loguru - Python logging made (stupidly) simple
python-logfmter - Using the stdlib logging module and without changing a single logging call, logfmter supports global (first and third party) logfmt structured logging.
Proglog - :memo: Logs and progress bars manager for Python
python-logging-discord
logma - structlog defaults for machines not for humans
ThoughtLogger - Your own logger for your different needs. Useful for CBT (Cognitive Behavioral Therapy).
asgi-correlation-id - Request ID propagation for ASGI apps
django-guid - Inject an ID into every log message from a Django request. ASGI compatible, integrates with Sentry, and works with Celery
gcp-log - Python library to format logs as GCP-compatible JSON.