Skip to main content

Documentation Status Pipeline Status PyPI PyPI

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

Usage

pip install ez-logger
from ez_logger.console_logger import ConsoleLogger
logger = ConsoleLogger()
logger.error('some error occurred')
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 for detailed documentation.

Development

virtualenv venv
source venv/bin/activate

pip install -r requirements.txt

Run Tests

python -m pytest -v tests/unit/*.py --spec

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-1.1.10.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ez_logger-1.1.10-py2.py3-none-any.whl (6.8 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: ez-logger-1.1.10.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for ez-logger-1.1.10.tar.gz
Algorithm Hash digest
SHA256 2dc9dcb2743446730b377785e5965808bfca13f139cb9d74c07f80ead3335cf5
MD5 11d9609a727f728de3c07bc35fc6fdf5
BLAKE2b-256 fe45e16a07468ab7f3ccdc020b0ffcacc8450e9157c579728a2d2fcf46402a11

See more details on using hashes here.

File details

Details for the file ez_logger-1.1.10-py2.py3-none-any.whl.

File metadata

  • Download URL: ez_logger-1.1.10-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for ez_logger-1.1.10-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 49de8a4afcd34a94b48aac15757c0861bfac43601ab76a1b01fd98a2c0676a38
MD5 67a8fd50a4d63bb08d9d298ec1a02b19
BLAKE2b-256 7cec07b1b708c4fd9e700e3941d9431e5557a06bbd234d9c93ed90b3402d1ec2

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.10 This release

2 files

1.0.2

2 files

1.0.0

1 file

0.0.3

1 file

0.0.2

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page