A simple pretty Python logging interface.
Project description
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
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | c496962c7003c6e70f6dc7a8de047ec83e6cffb4b44efb00284e28afa5cfdaec |
|
MD5 | 9ed64b7503dd01ee6f6cac1fb3717739 |
|
BLAKE2b-256 | cc242a8b8c1dc71ae01a0d70828f9d04784c59c187808d233f7f4019517289be |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48a35cdc555bbbb14dcb03414257e75bd0a0adca39c07d687bd1a09ea695a141 |
|
MD5 | 19c08b0cfb06bbe573d90272647fdbe4 |
|
BLAKE2b-256 | 1affe2a3205ec5fd58355af033ca46cb61df9043f68e371ea4eac9ab022b9902 |