{ "info": { "author": "Filip Wiechec", "author_email": "filip.wiechec@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3" ], "description": "# cologging\n## Description\nAdd some colors to your logs in one simple step!\n\n## Quickstart\n- Add the formatter to your stream handler and enjoy rainbowy output\n``` python\nimport cologging\nimport logging\n\nlog = logging.getLogger('Colorful')\n\nformatter = cologging.ColorFormatter('%(levelname)s: %(message)s')\n\nsh = logging.StreamHandler()\nsh.setFormatter(formatter)\n\nlog.addHandler(sh)\nlog.setLevel(logging.DEBUG)\n\nlog.debug('Debug in blue')\nlog.info('Info in green')\nlog.warning('Warning in yellow')\nlog.error('Error in red')\n```\n\n- As you can see the colors are not added when output is redirected\n\"demo\"\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/filwie/cologging", "keywords": "logging color", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "cologging", "package_url": "https://pypi.org/project/cologging/", "platform": "", "project_url": "https://pypi.org/project/cologging/", "project_urls": { "Homepage": "https://github.com/filwie/cologging" }, "release_url": "https://pypi.org/project/cologging/0.1/", "requires_dist": [ "incolor" ], "requires_python": "", "summary": "ColorFormatter class for logging module.", "version": "0.1" }, "last_serial": 5875823, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "7965837a641a4243b6a933d551764784", "sha256": "30c343e50c2c34aad48e55e16ba40ca87131ee4dfaa15f7b5bf6574a9d3335e7" }, "downloads": -1, "filename": "cologging-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "7965837a641a4243b6a933d551764784", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2737, "upload_time": "2019-09-23T19:53:57", "url": "https://files.pythonhosted.org/packages/27/12/3717affef4c42562335f6dfc5a72f300777d92048c68e8ee69bfaa696c5c/cologging-0.1-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7965837a641a4243b6a933d551764784", "sha256": "30c343e50c2c34aad48e55e16ba40ca87131ee4dfaa15f7b5bf6574a9d3335e7" }, "downloads": -1, "filename": "cologging-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "7965837a641a4243b6a933d551764784", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2737, "upload_time": "2019-09-23T19:53:57", "url": "https://files.pythonhosted.org/packages/27/12/3717affef4c42562335f6dfc5a72f300777d92048c68e8ee69bfaa696c5c/cologging-0.1-py3-none-any.whl" } ] }