ez-logger allows you to create commonly used logger for everyday operations.
Project description
ez-logger
==
`ez-logger` is a python module that offers easy to use API's for performing common logging operations.
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
```
==
`ez-logger` is a python module that offers easy to use API's for performing common logging operations.
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
```
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for ez_logger-0.0.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d70cc2d0816a95824d4b844e2d9d267f4e4f66be2ed0358ca219277d370f43e6 |
|
MD5 | 782df4f982a21a0dda74b91bba2d1af8 |
|
BLAKE2b-256 | 89b89d375d9f9d7091710b19c79d50b98d4305481fc061b5d100ecdaf2162b03 |