This Package can be used from Debugging purposes.
When you are working in long project, you often use print statement for debugging purposes.
Sometime, you use to many print statement and after completing debugging you spent sometime to find and remove all those previous print statement
What does this package do?
When you print something for debugging purposes using this package, it will print out in following pattern
[TYPE_OF_WARNING] -> TextType (INFO, WARNING, etc)
[From] -> Which method is calling this packages' method
[Line] -> On which line is it calling
[Statement(s)] -> Print all the messages you have writen
You can even pass multiple texts as parameters just like in print statement
Example
from package_logger import LoggerClass, TextType
logger = LoggerClass()
logger.print("Hello", "World", type_ = TextType.INFO)
You can use colorPrint method instead of print method to print with color for different messages type
Example
from package_logger import ColorType
logger.colorPrint("Hello", "World", type_ = TextType.INFO, color = ColorType.COLOR_INFO)
Raw data
{
"_id": null,
"home_page": "https://github.com/sachin-acharya-projects/package_logger",
"name": "package-logger",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python3-logger logger debugging print",
"author": "Sachin Acharya",
"author_email": "acharyaraj71+logger@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/12/ca/92893bdfd5ec8bb66e02cb1c095ffea51ccf21274b6fdd2c91ba7e4258dc/package_logger-1.0.0.tar.gz",
"platform": null,
"description": "\r\nThis Package can be used from Debugging purposes.\r\nWhen you are working in long project, you often use print statement for debugging purposes.\r\nSometime, you use to many print statement and after completing debugging you spent sometime to find and remove all those previous print statement\r\n\r\nWhat does this package do?\r\nWhen you print something for debugging purposes using this package, it will print out in following pattern\r\n\r\n[TYPE_OF_WARNING] -> TextType (INFO, WARNING, etc)\r\n[From] -> Which method is calling this packages' method\r\n[Line] -> On which line is it calling\r\n[Statement(s)] -> Print all the messages you have writen\r\n\r\nYou can even pass multiple texts as parameters just like in print statement\r\n\r\nExample\r\nfrom package_logger import LoggerClass, TextType\r\n\r\nlogger = LoggerClass()\r\nlogger.print(\"Hello\", \"World\", type_ = TextType.INFO)\r\n\r\nYou can use colorPrint method instead of print method to print with color for different messages type\r\nExample\r\nfrom package_logger import ColorType\r\nlogger.colorPrint(\"Hello\", \"World\", type_ = TextType.INFO, color = ColorType.COLOR_INFO)\r\n",
"bugtrack_url": null,
"license": "",
"summary": "Logger for Python",
"version": "1.0.0",
"split_keywords": [
"python3-logger",
"logger",
"debugging",
"print"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0a7bf2cfa29a3e9138c10e0bb5120d9406eee8b8c274f9308dadad69c773aac2",
"md5": "2fed81d2a0c1ac512ee778de1a0ad8ca",
"sha256": "7e2f6eaa854364ee169efde1b9a86d62aa204a27f704c82db98aee88501bbe9f"
},
"downloads": -1,
"filename": "package_logger-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2fed81d2a0c1ac512ee778de1a0ad8ca",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 2405,
"upload_time": "2023-01-07T14:06:39",
"upload_time_iso_8601": "2023-01-07T14:06:39.801369Z",
"url": "https://files.pythonhosted.org/packages/0a/7b/f2cfa29a3e9138c10e0bb5120d9406eee8b8c274f9308dadad69c773aac2/package_logger-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "12ca92893bdfd5ec8bb66e02cb1c095ffea51ccf21274b6fdd2c91ba7e4258dc",
"md5": "ef85e1afc644a71813feada7abefa802",
"sha256": "b1111066d9bbfe8c8f7d667d84743c103dfe187d3f4708c5c9359e216adb12f5"
},
"downloads": -1,
"filename": "package_logger-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "ef85e1afc644a71813feada7abefa802",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2161,
"upload_time": "2023-01-07T14:06:41",
"upload_time_iso_8601": "2023-01-07T14:06:41.746643Z",
"url": "https://files.pythonhosted.org/packages/12/ca/92893bdfd5ec8bb66e02cb1c095ffea51ccf21274b6fdd2c91ba7e4258dc/package_logger-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-07 14:06:41",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "sachin-acharya-projects",
"github_project": "package_logger",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "package-logger"
}