ez-logger-1.1.10
توضیحات
ez-logger allows you to a logger for everyday operations
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | ez-logger-1.1.10 |
| نام | ez-logger |
| نسخه کتابخانه | 1.1.10 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Rakesh V |
| ایمیل نویسنده | varma.rakesh@gmail.com |
| آدرس صفحه اصلی | https://github.com/varmarakesh/ez-logger |
| آدرس اینترنتی | https://pypi.org/project/ez-logger/ |
| مجوز | BSD |
[](https://ez-logger.readthedocs.io/en/latest/?badge=latest)
[](https://gitlab.com/varmarakesh/simple-logger/pipelines)
[](https://pypi.org/project/ez-logger/)
[](https://pypi.org/project/ez-logger/)
ez-logger
==
`ez-logger` is a python module that offers easy to use API's for performing common logging operations.
This library has been tested on the following platforms.
* Windows
* Linux
* Mac OSX
It also works on both python major versions.
* python 2.7
* python 3.6
API Docs
--
API docs are maintained [here](https://ez-logger.readthedocs.io/en/latest/index.html)
Usage
--
```bash
pip install ez-logger
```
```python
from ez_logger.console_logger import ConsoleLogger
logger = ConsoleLogger()
logger.error('some error occurred')
```
```bash
from ez_logger.file_logger import FileLogger
logger = FileLogger(
log_file='test.log',
log_dir='/tmp'
)
logger.error('some error occurred')
```
Refer to [API Docs](https://ez-logger.readthedocs.io/en/latest/index.html) for detailed documentation.
Development
--
```bash
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
```
Run Tests
--
```bash
python -m pytest -v tests/unit/*.py --spec
```
نیازمندی
| مقدار | نام |
|---|---|
| ==4.0.2 | colorlog |
نحوه نصب
نصب پکیج whl ez-logger-1.1.10:
pip install ez-logger-1.1.10.whl
نصب پکیج tar.gz ez-logger-1.1.10:
pip install ez-logger-1.1.10.tar.gz