Name | EzColorLog JSON |
Version |
1.0.3
JSON |
| download |
home_page | |
Summary | A simple pretty Python logging interface. |
upload_time | 2024-01-10 02:39:30 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3 |
license | MIT License Copyright (c) 2023 Ellis Brown Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
logging
color
easy
simple
pretty
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<!-- [![Build](https://github.com/ellisbrown/EzColorLog/actions/workflows/pypi-publish.yml/badge.svg)](https://github.com/ellisbrown/EzColorLog/actions/workflows/pypi-publish.yml) -->
<!-- [![codecov](https://codecov.io/gh/ellisbrown/ezcolorlog/branch/master/graph/badge.svg)](https://codecov.io/gh/ellisbrown/ezcolorlog) -->
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/ellisbrown/ezcolorlog/blob/master/LICENSE)
[![PyPI version](https://badge.fury.io/py/EzColorLog.svg)](https://badge.fury.io/py/EzColorLog)
# EzColorLog
`EzColorLog` is a simple pretty Python logging interface.
## Installation
```shell
pip install ezcolorlog
```
## Usage
### Basic Root Logger Usage
```python
from ezcolorlog import root_loggger as logger
logger.info('This is a log message')
logger.debug('This is a debug message')
logger.warning('This is a warning message')
logger.error('This is an error message')
logger.critical('This is a critical message')
```
### Basic Logger Usage
```python
import logging
from ezcolorlog import root_logger, setup_logging, log_stdout
root_logger.info('Setting up logging...')
logger = logging.getLogger("my_logger")
logger.info('This is a log message')
logger.debug('This is a debug message')
logger.warning('This is a warning message')
logger.error('This is an error message')
logger.critical('This is a critical message')
```
Raw data
{
"_id": null,
"home_page": "",
"name": "EzColorLog",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": "",
"keywords": "logging,color,easy,simple,pretty",
"author": "",
"author_email": "Ellis Brown <ellis.l.brown.ii@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/97/a5/73dc2096a7217bf1a4dbe5b2bf1212548b2dc9b647187987e6aa9b077fd2/EzColorLog-1.0.3.tar.gz",
"platform": null,
"description": "<!-- [![Build](https://github.com/ellisbrown/EzColorLog/actions/workflows/pypi-publish.yml/badge.svg)](https://github.com/ellisbrown/EzColorLog/actions/workflows/pypi-publish.yml) -->\n<!-- [![codecov](https://codecov.io/gh/ellisbrown/ezcolorlog/branch/master/graph/badge.svg)](https://codecov.io/gh/ellisbrown/ezcolorlog) -->\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/ellisbrown/ezcolorlog/blob/master/LICENSE)\n[![PyPI version](https://badge.fury.io/py/EzColorLog.svg)](https://badge.fury.io/py/EzColorLog)\n\n# EzColorLog\n\n`EzColorLog` is a simple pretty Python logging interface.\n\n## Installation\n```shell\npip install ezcolorlog\n```\n\n## Usage\n\n### Basic Root Logger Usage\n```python\nfrom ezcolorlog import root_loggger as logger\n\nlogger.info('This is a log message')\nlogger.debug('This is a debug message')\nlogger.warning('This is a warning message')\nlogger.error('This is an error message')\nlogger.critical('This is a critical message')\n```\n\n### Basic Logger Usage\n```python\nimport logging\nfrom ezcolorlog import root_logger, setup_logging, log_stdout\n\nroot_logger.info('Setting up logging...')\nlogger = logging.getLogger(\"my_logger\")\n\nlogger.info('This is a log message')\nlogger.debug('This is a debug message')\nlogger.warning('This is a warning message')\nlogger.error('This is an error message')\nlogger.critical('This is a critical message')\n```\n\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2023 Ellis Brown Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
"summary": "A simple pretty Python logging interface.",
"version": "1.0.3",
"project_urls": {
"Code": "https://github.com/ellisbrown/EzColorLog",
"Issues": "https://github.com/ellisbrown/EzColorLog/issues"
},
"split_keywords": [
"logging",
"color",
"easy",
"simple",
"pretty"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "35309af11d12d252f65d8ad4801f7c67105779a7c1ebe5e5eab6b184f4dff7aa",
"md5": "099fc3075c6bf8ba92d5b0e299151e36",
"sha256": "153b0f6c70eb0b46b8326da4e942256ee823d819f271e5033a2669e1e6d95809"
},
"downloads": -1,
"filename": "EzColorLog-1.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "099fc3075c6bf8ba92d5b0e299151e36",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 9702,
"upload_time": "2024-01-10T02:39:29",
"upload_time_iso_8601": "2024-01-10T02:39:29.140221Z",
"url": "https://files.pythonhosted.org/packages/35/30/9af11d12d252f65d8ad4801f7c67105779a7c1ebe5e5eab6b184f4dff7aa/EzColorLog-1.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "97a573dc2096a7217bf1a4dbe5b2bf1212548b2dc9b647187987e6aa9b077fd2",
"md5": "b11722f9c1fb995a0bcdfdfbb4a02a58",
"sha256": "fea2e91760df92ad1777a928677051a0035700f2737a8d889b1aabd0168accdb"
},
"downloads": -1,
"filename": "EzColorLog-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "b11722f9c1fb995a0bcdfdfbb4a02a58",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 11896,
"upload_time": "2024-01-10T02:39:30",
"upload_time_iso_8601": "2024-01-10T02:39:30.738287Z",
"url": "https://files.pythonhosted.org/packages/97/a5/73dc2096a7217bf1a4dbe5b2bf1212548b2dc9b647187987e6aa9b077fd2/EzColorLog-1.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-10 02:39:30",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ellisbrown",
"github_project": "EzColorLog",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "ezcolorlog"
}