Skip to main content

attr: jsonlog.__doc__

Project description

jsonlog

A drop-in formatter for Python's logging library that outputs messages as line delimited JSON.

Usage

You can use jsonlog as a drop-in replacement for logging:

import jsonlog


def main():
    jsonlog.basicConfig()
    jsonlog.info("Application started.")


if __name__ == '__main__':
    main()

Compatibility

jsonlog is written for Python 3.7 and above. Compatibility patches will be accepted for Python 3.5 and above, but patches for Python 2 will be rejected.

Authors

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jsonlog-0.0.0.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

jsonlog-0.0.0-py2.py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page