Skip to main content

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


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ez-logger-0.0.2.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

ez_logger-0.0.2-py2-none-any.whl (4.8 kB view details)

Uploaded Python 2

File details

Details for the file ez-logger-0.0.2.tar.gz.

File metadata

  • Download URL: ez-logger-0.0.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.10

File hashes

Hashes for ez-logger-0.0.2.tar.gz
Algorithm Hash digest
SHA256 3d2286689f96ac8f95a5e5be9841fd7ea0e9cd60457f00e9a48d4dbae3f8a45c
MD5 d3f11fa22a1a6c7fb8b83d3f60897d5c
BLAKE2b-256 397de61138da519f0384789c36fc343352d1fe77f60a23877f035eac72c1f4e4

See more details on using hashes here.

File details

Details for the file ez_logger-0.0.2-py2-none-any.whl.

File metadata

  • Download URL: ez_logger-0.0.2-py2-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.10

File hashes

Hashes for ez_logger-0.0.2-py2-none-any.whl
Algorithm Hash digest
SHA256 939159450dc0ad4b1ad8ceca4b09a3616ddd868900d9490dcd08b48d093329b6
MD5 d08e8045f1033e63317cdd892d96347f
BLAKE2b-256 3bd2d92131947710ec289a5466e35ee558e3d90872d68cb4eb362ca3031f85f4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page