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.2.tar.gz
(11.9 kB
view details)
Built Distribution
File details
Details for the file EzColorLog-1.0.2.tar.gz
.
File metadata
- Download URL: EzColorLog-1.0.2.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 | 428386908e99c7a740c6d19834cc2ce4e5b1fc3bae959325e3587909b815c293 |
|
MD5 | 8a3e77c838868a8928207265d2dde9cb |
|
BLAKE2b-256 | ec57277a0e4a973857f6327dc9c7576a4cc3762268e354563eabba282cf30cf5 |
File details
Details for the file EzColorLog-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: EzColorLog-1.0.2-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4a36d8c659e1885055d821862612a20b2eab5042f82cf0396582718cde939c2 |
|
MD5 | eb407a36a7f9e19138caf18d072741a0 |
|
BLAKE2b-256 | be3ad8b3aa698bf95de5cc62f322be43fa9d15853f8f692505328908b920af68 |