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

Uploaded Source

Built Distribution

EzColorLog-1.0.1-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: EzColorLog-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 c496962c7003c6e70f6dc7a8de047ec83e6cffb4b44efb00284e28afa5cfdaec
MD5 9ed64b7503dd01ee6f6cac1fb3717739
BLAKE2b-256 cc242a8b8c1dc71ae01a0d70828f9d04784c59c187808d233f7f4019517289be

See more details on using hashes here.

File details

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

File metadata

  • Download URL: EzColorLog-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 48a35cdc555bbbb14dcb03414257e75bd0a0adca39c07d687bd1a09ea695a141
MD5 19c08b0cfb06bbe573d90272647fdbe4
BLAKE2b-256 1affe2a3205ec5fd58355af033ca46cb61df9043f68e371ea4eac9ab022b9902

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