Metadata-Version: 2.1
Name: ez-logger
Version: 1.0.2
Summary: ez-logger allows you to create commonly used 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
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Description-Content-Type: text/markdown
Requires-Dist: colorlog (==4.0.2)

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
```


