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

Release files for ez-logger 1.1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ez-logger 1.1.10
File Size Uploaded
ez-logger-1.1.10.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ez-logger 1.1.10
File Interpreter ABI Platform
ez_logger-1.1.10-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 11.6 kB

Release files / ez-logger-1.1.10.tar.gz

Download URL ez-logger-1.1.10.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2dc9dcb2743446730b377785e5965808bfca13f139cb9d74c07f80ead3335cf5
BLAKE2b-256 checksum
How to use checksums
fe45e16a07468ab7f3ccdc020b0ffcacc8450e9157c579728a2d2fcf46402a11
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / ez_logger-1.1.10-py2.py3-none-any.whl

Download URL ez_logger-1.1.10-py2.py3-none-any.whl
Size 6.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
49de8a4afcd34a94b48aac15757c0861bfac43601ab76a1b01fd98a2c0676a38
BLAKE2b-256 checksum
How to use checksums
7cec07b1b708c4fd9e700e3941d9431e5557a06bbd234d9c93ed90b3402d1ec2
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.1.10 This release

2 release files

1.0.2

2 release files

1.0.0

1 release file

0.0.3

1 release file

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page