colorlog-python-1.1.0
توضیحات
A lightweight logger that makes logging to the terminal easy and pretty in python.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | colorlog-python-1.1.0 |
| نام | colorlog-python |
| نسخه کتابخانه | 1.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | ['Jimmy Deng <jimmydengpeng@gmail.com>'] |
| نویسنده | - |
| ایمیل نویسنده | Jimmy Deng <jimmydengpeng@gmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/colorlog-python/ |
| مجوز | - |
# ColorLog

**ColorLog** is a lightweight logger that makes logging to the terminal easy and pretty for python.
This is self-made & self-used module for coloring logging infomation. Welcome any contributions if you would like!
## TODO
- [x] Auto-inline
- [ ] Add requirements
- [ ] Upload to PyPI
## Installation
### Font
The recommended font is `MesloLGS NF`.
### Install from PyPI
TODO
```shell
pip install colorlog-python
```
## Usage
To use **colorlog**, just import the pre-instantiated `logger` into your code.
```python
from colorlog import logger
logger.debug("prompt:", your_args)
logger.info("prompt:", your_args)
logger.warning("prompt:", your_args)
logger.success("prompt:", your_args)
logger.error("prompt:", your_args)
```
For other detailed APIs please check the code!
نیازمندی
| مقدار | نام |
|---|---|
| - | PyYAML |
| - | tomli |
| - | humanfriendly |
| - | pytest |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl colorlog-python-1.1.0:
pip install colorlog-python-1.1.0.whl
نصب پکیج tar.gz colorlog-python-1.1.0:
pip install colorlog-python-1.1.0.tar.gz