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’s licensed under the permissive Apache License, version 2, available from PyPI, and the source code can be found on GitHub.

Full documentation can be found at http://www.structlog.org/. Find out what’s new from the changelog!

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.

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.2.0.tar.gz (64.3 kB view hashes)

Uploaded Source

Built Distribution

structlog-0.2.0-py2.py3-none-any.whl (22.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