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

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

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

ez_logger-1.0.0-py2.py3-none-any.whl (5.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: ez_logger-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.0 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.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3d6467aa4b21a40bebb65ff3d95163de1eefdf173a7c62205cc7313fb3a358cc
MD5 f91c3f05a102281dd183bd05dfb523ab
BLAKE2b-256 5583767d5c002be2dcf74bae08caff69b2051b0ab873ae7395b3c77f8eb8011c

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