{ "info": { "author": "Caleb Hattingh", "author_email": "caleb.hattingh@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": ".. image:: https://travis-ci.org/cjrh/logbind.svg?branch=master\n :target: https://travis-ci.org/cjrh/logbind\n\n.. image:: https://coveralls.io/repos/github/cjrh/logbind/badge.svg?branch=master\n :target: https://coveralls.io/github/cjrh/logbind?branch=master\n\n.. image:: https://img.shields.io/pypi/pyversions/logbind.svg\n :target: https://pypi.python.org/pypi/logbind\n\n.. image:: https://img.shields.io/github/tag/cjrh/logbind.svg\n :target: https://img.shields.io/github/tag/cjrh/logbind.svg\n\n.. image:: https://img.shields.io/badge/install-pip%20install%20logbind-ff69b4.svg\n :target: https://img.shields.io/badge/install-pip%20install%20logbind-ff69b4.svg\n\n.. image:: https://img.shields.io/pypi/v/logbind.svg\n :target: https://img.shields.io/pypi/v/logbind.svg\n\n.. image:: https://img.shields.io/badge/calver-YYYY.MM.MINOR-22bfda.svg\n :target: http://calver.org/\n\n\nlogbind\n======================\n\nEasily bind new fields into your logger instances.\n\n.. code-block:: python\n\n # Original logger\n logger = logging.getLogger('a')\n logger.info('Hello')\n\n logger = logbind.bind(logger, id=12345)\n logger.info('Hello') # <- This logrecord has an extra field \"id\"\n\n logger = logbind.bind(logger, abc=67890)\n logger.info('Hello') # <- logrecord has two extra fields: \"id\" and \"abc\"\n\n\nThis feature will be most useful with a structured logging formatter,\nsuch as JSON. You could try `logjson `_\nfor example.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/cjrh/logbind", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "logbind", "package_url": "https://pypi.org/project/logbind/", "platform": "", "project_url": "https://pypi.org/project/logbind/", "project_urls": { "Homepage": "https://github.com/cjrh/logbind" }, "release_url": "https://pypi.org/project/logbind/2017.11.7/", "requires_dist": [ "typing; python_version < '3.5'" ], "requires_python": "", "summary": "logbind", "version": "2017.11.7" }, "last_serial": 3366555, "releases": { "2017.11.4": [ { "comment_text": "", "digests": { "md5": "d11731efad966473b9251d40d71ddfe7", "sha256": "2b6251486c938438f308d342bee5ae9efe6cfaa7af4510fc3900b1279f0664e9" }, "downloads": -1, "filename": "logbind-2017.11.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d11731efad966473b9251d40d71ddfe7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13569, "upload_time": "2017-11-26T12:09:11", "url": "https://files.pythonhosted.org/packages/2d/6d/afa807052b28731d544b6e47ccb23a549a84670842df8c06b479a76572d2/logbind-2017.11.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5c4504fc85c3c1fbfc19783cf50f9515", "sha256": "072c32cb5082586aa60f411d7997614b868dcf0d9beeb475145cd6b6520adc32" }, "downloads": -1, "filename": "logbind-2017.11.4.tar.gz", "has_sig": false, "md5_digest": "5c4504fc85c3c1fbfc19783cf50f9515", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8191, "upload_time": "2017-11-26T12:09:16", "url": "https://files.pythonhosted.org/packages/23/dd/e95db01b1fdb340b223bef801191ea1e9ea94d4b0e8acb2c74e5c298da98/logbind-2017.11.4.tar.gz" } ], "2017.11.6": [ { "comment_text": "", "digests": { "md5": "4e01d714753a7165dd8c58a67f406a74", "sha256": "aa31bfe4a3ea2ff706e57fb4f96964ed9c6d18ef718c2a86e2f09ff9b08d7c90" }, "downloads": -1, "filename": "logbind-2017.11.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4e01d714753a7165dd8c58a67f406a74", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13729, "upload_time": "2017-11-27T02:58:15", "url": "https://files.pythonhosted.org/packages/50/24/d2199222b804aaf95ed6512e6fe10d4d7c3a17737fc31425cb58b63e49de/logbind-2017.11.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9daf16131d455113663ab9463c06a44f", "sha256": "2ac2200f343fd417de3852a15a864c45ecbbaabb25a242f101a3c951292183c0" }, "downloads": -1, "filename": "logbind-2017.11.6.tar.gz", "has_sig": false, "md5_digest": "9daf16131d455113663ab9463c06a44f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7715, "upload_time": "2017-11-27T02:58:17", "url": "https://files.pythonhosted.org/packages/99/27/02e5a3b31ed1b5ad2bfa201d29b8855b755b0e525ca51d905b13cdd338ba/logbind-2017.11.6.tar.gz" } ], "2017.11.7": [ { "comment_text": "", "digests": { "md5": "466cbe8e748e770285f342ffd5aedc69", "sha256": "a57930b3d87f26cc803abd185f2bdfb6eb6be221a3cc8d1496549e289ffa9625" }, "downloads": -1, "filename": "logbind-2017.11.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "466cbe8e748e770285f342ffd5aedc69", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13737, "upload_time": "2017-11-27T03:01:41", "url": "https://files.pythonhosted.org/packages/16/60/f3e5c0dc5b1c5693d8571ef23344d7a85578fe6ebea15de537128b100034/logbind-2017.11.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "83b1b2c16db9ae10df0570ac46396b23", "sha256": "1631e2b10138aa4eeece554cadcb738ca2f5be562ba7b3abd2c8cbacaa9bcaea" }, "downloads": -1, "filename": "logbind-2017.11.7.tar.gz", "has_sig": false, "md5_digest": "83b1b2c16db9ae10df0570ac46396b23", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7730, "upload_time": "2017-11-27T03:01:43", "url": "https://files.pythonhosted.org/packages/28/9b/fa87d1f36ee15882f05bd8a1f66f7d0ad117dade6819ef77eac09581c69e/logbind-2017.11.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "466cbe8e748e770285f342ffd5aedc69", "sha256": "a57930b3d87f26cc803abd185f2bdfb6eb6be221a3cc8d1496549e289ffa9625" }, "downloads": -1, "filename": "logbind-2017.11.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "466cbe8e748e770285f342ffd5aedc69", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13737, "upload_time": "2017-11-27T03:01:41", "url": "https://files.pythonhosted.org/packages/16/60/f3e5c0dc5b1c5693d8571ef23344d7a85578fe6ebea15de537128b100034/logbind-2017.11.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "83b1b2c16db9ae10df0570ac46396b23", "sha256": "1631e2b10138aa4eeece554cadcb738ca2f5be562ba7b3abd2c8cbacaa9bcaea" }, "downloads": -1, "filename": "logbind-2017.11.7.tar.gz", "has_sig": false, "md5_digest": "83b1b2c16db9ae10df0570ac46396b23", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7730, "upload_time": "2017-11-27T03:01:43", "url": "https://files.pythonhosted.org/packages/28/9b/fa87d1f36ee15882f05bd8a1f66f7d0ad117dade6819ef77eac09581c69e/logbind-2017.11.7.tar.gz" } ] }