Metadata-Version: 2.1
Name: ez-logger
Version: 1.1.10
Summary: ez-logger allows you to a logger for everyday operations
Home-page: https://github.com/varmarakesh/ez-logger
Author: Rakesh V
Author-email: varma.rakesh@gmail.com
License: BSD
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Description-Content-Type: text/markdown
Requires-Dist: colorlog (==4.0.2)

[![Documentation Status](https://readthedocs.org/projects/ez-logger/badge/?version=latest)](https://ez-logger.readthedocs.io/en/latest/?badge=latest)
[![Pipeline Status](https://gitlab.com/varmarakesh/simple-logger/badges/master/pipeline.svg)](https://gitlab.com/varmarakesh/simple-logger/pipelines)
[![PyPI](https://img.shields.io/pypi/v/ez-logger.svg)](https://pypi.org/project/ez-logger/)
[![PyPI](https://img.shields.io/pypi/l/ez-logger.svg)](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
```


