Skip to main content

Painless structured logging.

Project description

https://travis-ci.org/hynek/structlog.png?branch=master https://coveralls.io/repos/hynek/structlog/badge.png?branch=master

structlog makes structured logging in Python easy by augmenting your existing logger. It allows you to split your log entries up into key/value pairs and build them incrementally without annoying boilerplate code.

It’s licensed under Apache License, version 2, available from PyPI, the source code can be found on GitHub, the documentation at http://www.structlog.org/.

structlog targets Python 2.6, 2.7, 3.2, and 3.3 as well as PyPy with no additional dependencies for core functionality.

If you need any help, visit us on #structlog on Freenode!

Bitdeli badge

Authors

structlog is written and maintained by Hynek Schlawack. It’s inspired by previous work done by Jean-Paul Calderone and David Reid.

The development is kindly supported by Variomedia AG.

The following folks helped forming structlog into what it is now:

Some of them disapprove of the addition of thread local context data. :)

Third Party Code

The compatibility code that makes this software run on both Python 2 and 3 is heavily inspired and partly copy and pasted from the MIT-licensed six by Benjamin Peterson. The only reason why it’s not used as a dependency is to avoid any runtime dependency in the first place.

The Sphinx (documentation) theme is an adapted version of the Write The Docs theme which in turn is an adapted version of the requests docs theme by Kenneth Reitz which in turn is an adapted version of the Flask docs theme by Armin Ronacher.

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

structlog-0.3.2.tar.gz (76.3 kB view details)

Uploaded Source

Built Distribution

structlog-0.3.2-py2.py3-none-any.whl (25.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file structlog-0.3.2.tar.gz.

File metadata

  • Download URL: structlog-0.3.2.tar.gz
  • Upload date:
  • Size: 76.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for structlog-0.3.2.tar.gz
Algorithm Hash digest
SHA256 62c94c2880685a082cdcd6c38012609d5643b9d0b8d0cdec2d434eae433d15a9
MD5 02780dfdf48b5d01a2c6c81459cc83d9
BLAKE2b-256 b2aa529fa369a73f1a77ac0c15ffbc2f2a5717315ff531891c2ec857b4dfee31

See more details on using hashes here.

File details

Details for the file structlog-0.3.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for structlog-0.3.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 92c106017e57e5e084df366cb871a03a1663c5b0bc8a0690b8da2634bfae4e8d
MD5 15f82e1e0dce79f885b1b185c01f1877
BLAKE2b-256 f1520f4770957b8f856297996a17ee14e756c2120bb05ad7557eb600e891221c

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