Name | pandalog JSON |
Version |
1.0.1
JSON |
| download |
home_page | None |
Summary | A simple library for logging in Python |
upload_time | 2024-06-10 14:46:28 |
maintainer | None |
docs_url | None |
author | Possible Panda |
requires_python | None |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Pandalog
Pandalog is a simple, easy-to-use logging library for Python. It provides a straightforward way to log messages, exceptions, and more with various levels of severity.
## Installation
You can install Pandalog from PyPI:
```bash
pip install pandalog
```
## Usage
Here's a basic example of how to use Pandalog:
```python
from pandalog import logger
logger.logInfo("This is a message", "TEST")
logger.logWarning("This is a warning", "TEST")
logger.logError("This is an error", "TEST")
logger.logCritical("This is a critical error", "TEST")
logger.logFatal("This is a fatal error", "TEST")
```
Output:
![Log Examples](images/log_examples.png)
## Features
- Log messages with different levels of severity (INFO, WARNING, ERROR, etc.)
- Log exceptions with their stack traces
- Configurable log format
- Save logs to a file
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
## License
Pandalog is licensed under the MIT License. See the `LICENSE` file for more details.
Raw data
{
"_id": null,
"home_page": null,
"name": "pandalog",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Possible Panda",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/c8/e4/faffbc1cd578efb75dd6624020cf5a731ef714274ba4a2c863d35bcad896/pandalog-1.0.1.tar.gz",
"platform": null,
"description": "# Pandalog\n\nPandalog is a simple, easy-to-use logging library for Python. It provides a straightforward way to log messages, exceptions, and more with various levels of severity.\n\n## Installation\n\nYou can install Pandalog from PyPI:\n\n```bash\npip install pandalog\n```\n\n## Usage\n\nHere's a basic example of how to use Pandalog:\n\n```python\nfrom pandalog import logger\n\nlogger.logInfo(\"This is a message\", \"TEST\")\nlogger.logWarning(\"This is a warning\", \"TEST\")\nlogger.logError(\"This is an error\", \"TEST\")\nlogger.logCritical(\"This is a critical error\", \"TEST\")\nlogger.logFatal(\"This is a fatal error\", \"TEST\")\n```\n\nOutput:\n\n![Log Examples](images/log_examples.png)\n\n## Features\n\n- Log messages with different levels of severity (INFO, WARNING, ERROR, etc.)\n- Log exceptions with their stack traces\n- Configurable log format\n- Save logs to a file\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nPandalog is licensed under the MIT License. See the `LICENSE` file for more details.\n",
"bugtrack_url": null,
"license": null,
"summary": "A simple library for logging in Python",
"version": "1.0.1",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2e3d292c72ce288f36bd37450485d2c90484e179efce14c5f2ab65e584103a1e",
"md5": "3e16842d5366e31bab4574abbdea41a4",
"sha256": "61e3e06895831a9d5cf94e8c15b289a6828859d522cd708ea3f03026db278118"
},
"downloads": -1,
"filename": "pandalog-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3e16842d5366e31bab4574abbdea41a4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4154,
"upload_time": "2024-06-10T14:46:27",
"upload_time_iso_8601": "2024-06-10T14:46:27.315039Z",
"url": "https://files.pythonhosted.org/packages/2e/3d/292c72ce288f36bd37450485d2c90484e179efce14c5f2ab65e584103a1e/pandalog-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c8e4faffbc1cd578efb75dd6624020cf5a731ef714274ba4a2c863d35bcad896",
"md5": "3694052b33b2eaf9efbce121e794e546",
"sha256": "f8c65486c3429f91540971145f0c488be7e3116a9ef7595161a53af994e3721b"
},
"downloads": -1,
"filename": "pandalog-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "3694052b33b2eaf9efbce121e794e546",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3756,
"upload_time": "2024-06-10T14:46:28",
"upload_time_iso_8601": "2024-06-10T14:46:28.233766Z",
"url": "https://files.pythonhosted.org/packages/c8/e4/faffbc1cd578efb75dd6624020cf5a731ef714274ba4a2c863d35bcad896/pandalog-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-10 14:46:28",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "pandalog"
}