Name | logorator JSON |
Version |
1.0.5
JSON |
| download |
home_page | None |
Summary | A decorator-based logging library with hierarchical structure, ANSI color support, and configurable outputs. |
upload_time | 2024-11-21 07:55:13 |
maintainer | None |
docs_url | None |
author | None |
requires_python | None |
license | None |
keywords |
logging
decorator
hierarchical logging
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# logorator
A decorator-based logging library for Python, featuring hierarchical structure, ANSI color support, and configurable outputs.
## Installation
```bash
pip install logorator
```
## Quick Start
```python
from logorator import Logger
@Logger()
def example_function(x, y):
return x + y
example_function(3, 5)
# Output:
# Running example_function
# 3
# 5
# Finished example_function Time elapsed: 0.10 ms
```
## Features
- Function Call Logging: Logs function calls, arguments, and execution times.
- Custom Notes: Add notes to your logs.
- ANSI Color Support: Makes console logs visually appealing.
- File Output: Write logs to a file, creating directories if needed.
- Thread-Safe Logging: Handles nested and concurrent function calls.
Raw data
{
"_id": null,
"home_page": null,
"name": "logorator",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "logging, decorator, hierarchical logging",
"author": null,
"author_email": "Arved Kl\u00f6hn <arved.kloehn@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/40/9c/7f9b0ff739ce2120a1b2d0541093651d0e082c9f64c5c6e8bdde1e85fb9f/logorator-1.0.5.tar.gz",
"platform": null,
"description": "# logorator\r\nA decorator-based logging library for Python, featuring hierarchical structure, ANSI color support, and configurable outputs.\r\n\r\n## Installation\r\n```bash\r\npip install logorator\r\n```\r\n## Quick Start\r\n```python\r\nfrom logorator import Logger\r\n\r\n@Logger()\r\ndef example_function(x, y):\r\n return x + y\r\n\r\nexample_function(3, 5)\r\n\r\n# Output:\r\n# Running example_function\r\n# 3\r\n# 5\r\n# Finished example_function Time elapsed: 0.10 ms\r\n```\r\n\r\n## Features\r\n- Function Call Logging: Logs function calls, arguments, and execution times.\r\n- Custom Notes: Add notes to your logs.\r\n- ANSI Color Support: Makes console logs visually appealing.\r\n- File Output: Write logs to a file, creating directories if needed.\r\n- Thread-Safe Logging: Handles nested and concurrent function calls.\r\n\r\n",
"bugtrack_url": null,
"license": null,
"summary": "A decorator-based logging library with hierarchical structure, ANSI color support, and configurable outputs.",
"version": "1.0.5",
"project_urls": null,
"split_keywords": [
"logging",
" decorator",
" hierarchical logging"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bc46620d759364cf6e9700736cd73ba86bce04b9379e5c1fc311815afedac33a",
"md5": "06d5b8ceed54656576cbc63d7b390cea",
"sha256": "5fe4a6762ddfa15388118037d648dd814a08d0baa75af351db46ee61388ecb11"
},
"downloads": -1,
"filename": "logorator-1.0.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "06d5b8ceed54656576cbc63d7b390cea",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3887,
"upload_time": "2024-11-21T07:55:12",
"upload_time_iso_8601": "2024-11-21T07:55:12.158687Z",
"url": "https://files.pythonhosted.org/packages/bc/46/620d759364cf6e9700736cd73ba86bce04b9379e5c1fc311815afedac33a/logorator-1.0.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "409c7f9b0ff739ce2120a1b2d0541093651d0e082c9f64c5c6e8bdde1e85fb9f",
"md5": "486f4a381190e5298adc9f0af0b998d0",
"sha256": "50a7572e944802a821a266acd70ba84ff0c420f17bd2f9a3d24612734ed1b9ea"
},
"downloads": -1,
"filename": "logorator-1.0.5.tar.gz",
"has_sig": false,
"md5_digest": "486f4a381190e5298adc9f0af0b998d0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3654,
"upload_time": "2024-11-21T07:55:13",
"upload_time_iso_8601": "2024-11-21T07:55:13.180494Z",
"url": "https://files.pythonhosted.org/packages/40/9c/7f9b0ff739ce2120a1b2d0541093651d0e082c9f64c5c6e8bdde1e85fb9f/logorator-1.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-21 07:55:13",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "logorator"
}