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.0.tar.gz (76.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for structlog-0.3.0.tar.gz
Algorithm Hash digest
SHA256 dec1678afdcff900912fbb98dce2b4a63f1e02cb05183c5b98a70785700fd431
MD5 308a3e328d90923c757796ab48db3f63
BLAKE2b-256 e5b4b85c94c32347c1ad25793b346471b061f086eec5d8f1b7a061090d6bb2e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for structlog-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5cf8d4915c6e2ac179dc25d3ea752c4968e8b24b6988e3cf2e1168517d18e054
MD5 b887e80e49cce9b1eade3a8ecf996bb2
BLAKE2b-256 b29b5ff79a227251fcde4b39a5428a4a61a12a00455828583a1dae83fe21084e

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