Name | polylog JSON |
Version |
0.1.6
JSON |
| download |
home_page | https://github.com/lvlcn-t/PolyLog |
Summary | A custom python logging package |
upload_time | 2023-08-01 21:40:38 |
maintainer | |
docs_url | None |
author | lvlcn-t |
requires_python | >=3.8 |
license | |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# PolyLog
PolyLog is a custom logging package designed to support your application development process. Built with versatility in mind, this package provides comprehensive, formatted logging in Python. It includes features such as:
- Customizable formatting
- Thread-safe logging
- Trace and Span ID integration
- Color-coded log levels
- Optional local log file storage
This package forms part of a larger multi-language (polylog) logging framework, with companion modules in Go, Rust, and TypeScript.
## Installation
To install PolyLog, you can simply use pip:
```bash
pip install polylog
```
## Usage
Here is a basic usage example:
```python
from polylog import setup_logger
# Set up the logger
logger = setup_logger(__name__)
# Use the logger
logger.info("This is an information message")
logger.error("This is an error message")
```
In this example, `setup_logger` is a function that sets up the logger and returns it. You can then use methods like `logger.info` and `logger.error` to log messages.
## Contact
If you have any questions, feel free to reach out at [GitHub](https://github.com/lvlcn-t/polylog/issues).
## License
This project is licensed under the terms of the MIT license.
Raw data
{
"_id": null,
"home_page": "https://github.com/lvlcn-t/PolyLog",
"name": "polylog",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "lvlcn-t <75443136+lvlcn-t@users.noreply.github.com>",
"keywords": "",
"author": "lvlcn-t",
"author_email": "lvlcn-t <75443136+lvlcn-t@users.noreply.github.com>",
"download_url": "https://files.pythonhosted.org/packages/f2/2e/87d78c472f208bf38233869cbab62b310fa11bfa83ef35708e6d4d98b992/polylog-0.1.6.tar.gz",
"platform": null,
"description": "# PolyLog\n\nPolyLog is a custom logging package designed to support your application development process. Built with versatility in mind, this package provides comprehensive, formatted logging in Python. It includes features such as:\n\n- Customizable formatting\n- Thread-safe logging\n- Trace and Span ID integration\n- Color-coded log levels\n- Optional local log file storage\n\nThis package forms part of a larger multi-language (polylog) logging framework, with companion modules in Go, Rust, and TypeScript.\n\n## Installation\n\nTo install PolyLog, you can simply use pip:\n\n```bash\npip install polylog\n```\n\n## Usage\n\nHere is a basic usage example:\n\n```python\nfrom polylog import setup_logger\n\n# Set up the logger\nlogger = setup_logger(__name__)\n\n# Use the logger\nlogger.info(\"This is an information message\")\nlogger.error(\"This is an error message\")\n```\n\nIn this example, `setup_logger` is a function that sets up the logger and returns it. You can then use methods like `logger.info` and `logger.error` to log messages.\n\n## Contact\n\nIf you have any questions, feel free to reach out at [GitHub](https://github.com/lvlcn-t/polylog/issues).\n\n## License\n\nThis project is licensed under the terms of the MIT license.\n\n",
"bugtrack_url": null,
"license": "",
"summary": "A custom python logging package",
"version": "0.1.6",
"project_urls": {
"Bug Reports": "https://github.com/lvlcn-t/polylog/issues",
"Homepage": "https://github.com/lvlcn-t/polylog",
"Source": "https://github.com/lvlcn-t/polylog/"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b22d2c6373dc8497e67009c990344800ac4b5359f07a67df138be382e4800180",
"md5": "7cdff8db49847c97c961b2c25b2f501e",
"sha256": "27d8795628b705db8c40083ac5e2beb35b764f3d723812e51cc5d150c7a0b86a"
},
"downloads": -1,
"filename": "polylog-0.1.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7cdff8db49847c97c961b2c25b2f501e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 5461,
"upload_time": "2023-08-01T21:40:37",
"upload_time_iso_8601": "2023-08-01T21:40:37.115829Z",
"url": "https://files.pythonhosted.org/packages/b2/2d/2c6373dc8497e67009c990344800ac4b5359f07a67df138be382e4800180/polylog-0.1.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f22e87d78c472f208bf38233869cbab62b310fa11bfa83ef35708e6d4d98b992",
"md5": "0a70b8d13774fe1e498f8df8722f986c",
"sha256": "a848ba5c8d38806e35ae9fdffb0b2f0e06244e568118163318b0964c0db32833"
},
"downloads": -1,
"filename": "polylog-0.1.6.tar.gz",
"has_sig": false,
"md5_digest": "0a70b8d13774fe1e498f8df8722f986c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 5504,
"upload_time": "2023-08-01T21:40:38",
"upload_time_iso_8601": "2023-08-01T21:40:38.255740Z",
"url": "https://files.pythonhosted.org/packages/f2/2e/87d78c472f208bf38233869cbab62b310fa11bfa83ef35708e6d4d98b992/polylog-0.1.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-01 21:40:38",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "lvlcn-t",
"github_project": "PolyLog",
"github_not_found": true,
"lcname": "polylog"
}