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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for jsonlog-0.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95ccbea9e357523963beb571d2ef7d0c52170aa39fe8cf118031a15707a1912f |
|
MD5 | edc165f3f97c96ace33a0d85846dde87 |
|
BLAKE2b-256 | 25b9ca564046f331005f8a810c8dcd9714b5d68748f3b7e9a869658f5d57ec64 |