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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for structlog-0.3.1.tar.gz
Algorithm Hash digest
SHA256 1c913981aa9e327d8953096d2b1ee75943e3efc88ecf8efa20b9709aa68c32bf
MD5 a62074b64b176de4169bd3e026ca58f0
BLAKE2b-256 a9f138148a3aa77cb3816d0b1ac479639dc4193a7c669152fb4298fa40b93f81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for structlog-0.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 15fe392b528611ea88e5f10a5a4d003bfd489e58574bc7189376563dba94d036
MD5 e5194c6d8a8713b4cf7076548e821ccf
BLAKE2b-256 1e0b54b417936e5f4dc8c7408ff5e3bc28c62b8e222291d1e7ab300ab510b4c6

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