{ "info": { "author": "buddyspencer", "author_email": "buddyspencer@protonmail.com", "bugtrack_url": null, "classifiers": [], "description": "# Logging Module\n\nThis library can handle colored log-output and write directly into a logfile.\n\n## Init\n```\n#!/usr/bin/env python3\n\nfrom logbuddy import logbuddy\n\nlog = logbuddy.log()\n```\n\n## Loglevel\nAt the moment there are a few loglevels defined by default.\n- Info\n- Warning\n- Error\n- Pass\n- Debug\n\n```\nlog.Pass(\"I am a pass-message\")\nlog.Warn(\"I am a warning-message\")\nlog.Error(\"I am an error-message\")\nlog.Debug(\"I am a debug-message\")\nlog.Info(\"I am an info-message\")\n```\n\n## Change the color of the levels\n```\nlog.Info(\"I am an info-message\")\n\nlog.setInfo(\"\\x1b[1;36m\")\n\nlog.Info(\"And now I have a different color\")\n``` \n\n## If you don't like colors\n```\nlog.setColor(False)\n```\n\n## Need a logfile?\n```\nlog.setLogfile(\"somelogfile\")\n```\n\n## Need a logfile with date?\n```\nlog.setLogfile(\"somelogfile\")\nlog.setLogfileDate(True)\n```\n\n## Future Plans\n- Creating your own loglevels\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://gitlab.com/buddyspencer/logbuddy.git", "keywords": "example", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "logbuddy", "package_url": "https://pypi.org/project/logbuddy/", "platform": "", "project_url": "https://pypi.org/project/logbuddy/", "project_urls": { "Homepage": "https://gitlab.com/buddyspencer/logbuddy.git" }, "release_url": "https://pypi.org/project/logbuddy/0.0.1.7/", "requires_dist": null, "requires_python": "", "summary": "Loghandler", "version": "0.0.1.7" }, "last_serial": 4187249, "releases": { "0.0.1.4": [ { "comment_text": "", "digests": { "md5": "ae2bdd1c8e4dc34f36c0348a7dab2de8", "sha256": "5d0f35dd4d61943a831e3d6a9863655605f14fdd2e9c8e13233bc2f641dbd504" }, "downloads": -1, "filename": "logbuddy-0.0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "ae2bdd1c8e4dc34f36c0348a7dab2de8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2514, "upload_time": "2018-07-02T11:27:42", "url": "https://files.pythonhosted.org/packages/9f/82/fedd940d3a1cbad24d4ff71e18d1c15f639ef991ddf8c9f26f5f172262a7/logbuddy-0.0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a8f46cbfc2bb243f7e1a1225b65298dc", "sha256": "aa29659b2df852f9d33a38418c9b344590ae19ce9f286dbd91b15d1517bc1758" }, "downloads": -1, "filename": "logbuddy-0.0.1.4.tar.gz", "has_sig": false, "md5_digest": "a8f46cbfc2bb243f7e1a1225b65298dc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2097, "upload_time": "2018-07-02T11:27:43", "url": "https://files.pythonhosted.org/packages/04/28/d07e027b223498458fcc6c3c421c56cad6918ba8d47600858d32a666745c/logbuddy-0.0.1.4.tar.gz" } ], "0.0.1.5": [ { "comment_text": "", "digests": { "md5": "6355f3e8b03d3f10c1f543cd22dd63d6", "sha256": "82411f3b1da69f1a8d8dbf3b08172c0394042693359f01720307a33fb8fdf5e1" }, "downloads": -1, "filename": "logbuddy-0.0.1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "6355f3e8b03d3f10c1f543cd22dd63d6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2512, "upload_time": "2018-07-02T11:31:23", "url": "https://files.pythonhosted.org/packages/7c/aa/6590ac17458448a7a9910f53bd25a83fcbd482d9000854118d49f6124b00/logbuddy-0.0.1.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3715eac306ffdaa2a94061a1ec691994", "sha256": "3706a756f87571024c211c60e9f6054b81dab19751503adbc8eccbe2c660489f" }, "downloads": -1, "filename": "logbuddy-0.0.1.5.tar.gz", "has_sig": false, "md5_digest": "3715eac306ffdaa2a94061a1ec691994", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2095, "upload_time": "2018-07-02T11:31:24", "url": "https://files.pythonhosted.org/packages/aa/36/9fb8339b4e32f5f5679db190cdbdecd1b038a6276edfb2a0d79d074d9fec/logbuddy-0.0.1.5.tar.gz" } ], "0.0.1.7": [ { "comment_text": "", "digests": { "md5": "82b3d7aab49fea0fe354738c55bc7b3d", "sha256": "aec0fce748a4b44bf97dcdc7a03470bba0acff785795666a21e015b4794430e2" }, "downloads": -1, "filename": "logbuddy-0.0.1.7-py3-none-any.whl", "has_sig": false, "md5_digest": "82b3d7aab49fea0fe354738c55bc7b3d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2629, "upload_time": "2018-08-20T06:46:34", "url": "https://files.pythonhosted.org/packages/5f/af/e17e8565f131ffe85f3b8ae174a61032396fccfa20141d518b9e8941178a/logbuddy-0.0.1.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e818fb2c8544fd9963912427df92fa56", "sha256": "c0500c600dbedcdfee339a65f4ff9112d9980fc37a0de799abeb407f1b8a8ae2" }, "downloads": -1, "filename": "logbuddy-0.0.1.7.tar.gz", "has_sig": false, "md5_digest": "e818fb2c8544fd9963912427df92fa56", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2225, "upload_time": "2018-08-20T06:46:35", "url": "https://files.pythonhosted.org/packages/51/85/b2798bc8dab79c76713a0d9960f203b474b5fd1ba1bf4b012e0da46ad2cd/logbuddy-0.0.1.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "82b3d7aab49fea0fe354738c55bc7b3d", "sha256": "aec0fce748a4b44bf97dcdc7a03470bba0acff785795666a21e015b4794430e2" }, "downloads": -1, "filename": "logbuddy-0.0.1.7-py3-none-any.whl", "has_sig": false, "md5_digest": "82b3d7aab49fea0fe354738c55bc7b3d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2629, "upload_time": "2018-08-20T06:46:34", "url": "https://files.pythonhosted.org/packages/5f/af/e17e8565f131ffe85f3b8ae174a61032396fccfa20141d518b9e8941178a/logbuddy-0.0.1.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e818fb2c8544fd9963912427df92fa56", "sha256": "c0500c600dbedcdfee339a65f4ff9112d9980fc37a0de799abeb407f1b8a8ae2" }, "downloads": -1, "filename": "logbuddy-0.0.1.7.tar.gz", "has_sig": false, "md5_digest": "e818fb2c8544fd9963912427df92fa56", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2225, "upload_time": "2018-08-20T06:46:35", "url": "https://files.pythonhosted.org/packages/51/85/b2798bc8dab79c76713a0d9960f203b474b5fd1ba1bf4b012e0da46ad2cd/logbuddy-0.0.1.7.tar.gz" } ] }