Skip to content

Releases: twuni/python-logging-ndjson

v0.1.0 Release

19 Feb 03:28
v0.1.0
36d9156
Compare
Choose a tag to compare

Initial release.

This Python package is based on standard logging practices I've been using for years, and it's proven to be a reliable, stable logging format that plays nicely with all observability tooling.

This implementation replaces Python's standard logging module, whose design has some problematic anti-patterns and whose default format encourages developers to emit logs that are not easily machine-readable. When using this module, it is recommended that developers opt out of Python's standard logging via:

import logging

logging.basicConfig(stream=logging.NullHandler())