Skip to main content

A simple pretty Python logging interface.

Project description

License PyPI version

EzColorLog

EzColorLog is a simple pretty Python logging interface.

Installation

pip install ezcolorlog

Usage

Basic Root Logger Usage

from ezcolorlog import root_loggger as logger

logger.info('This is a log message')
logger.debug('This is a debug message')
logger.warning('This is a warning message')
logger.error('This is an error message')
logger.critical('This is a critical message')

Basic Logger Usage

import logging
from ezcolorlog import root_logger, setup_logging, log_stdout

root_logger.info('Setting up logging...')
logger = logging.getLogger("my_logger")

logger.info('This is a log message')
logger.debug('This is a debug message')
logger.warning('This is a warning message')
logger.error('This is an error message')
logger.critical('This is a critical message')

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

EzColorLog-1.0.3.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

EzColorLog-1.0.3-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file EzColorLog-1.0.3.tar.gz.

File metadata

  • Download URL: EzColorLog-1.0.3.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for EzColorLog-1.0.3.tar.gz
Algorithm Hash digest
SHA256 fea2e91760df92ad1777a928677051a0035700f2737a8d889b1aabd0168accdb
MD5 b11722f9c1fb995a0bcdfdfbb4a02a58
BLAKE2b-256 97a573dc2096a7217bf1a4dbe5b2bf1212548b2dc9b647187987e6aa9b077fd2

See more details on using hashes here.

File details

Details for the file EzColorLog-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: EzColorLog-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for EzColorLog-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 153b0f6c70eb0b46b8326da4e942256ee823d819f271e5033a2669e1e6d95809
MD5 099fc3075c6bf8ba92d5b0e299151e36
BLAKE2b-256 35309af11d12d252f65d8ad4801f7c67105779a7c1ebe5e5eab6b184f4dff7aa

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