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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file jsonlog-0.0.0.tar.gz.

File metadata

  • Download URL: jsonlog-0.0.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for jsonlog-0.0.0.tar.gz
Algorithm Hash digest
SHA256 d843b56369e199cd2a4648ff48bfb452fb13fe1f44ba190fa64b84fb7391486e
MD5 b7e48ce62c406b18765545fb65387346
BLAKE2b-256 5a3e08282e1dd95fa549d755b7ca29f8a7f5a90907ac647613cf027fee954ef5

See more details on using hashes here.

File details

Details for the file jsonlog-0.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: jsonlog-0.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for jsonlog-0.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 95ccbea9e357523963beb571d2ef7d0c52170aa39fe8cf118031a15707a1912f
MD5 edc165f3f97c96ace33a0d85846dde87
BLAKE2b-256 25b9ca564046f331005f8a810c8dcd9714b5d68748f3b7e9a869658f5d57ec64

See more details on using hashes here.

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