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.3.tar.gz
(11.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fea2e91760df92ad1777a928677051a0035700f2737a8d889b1aabd0168accdb
|
|
| MD5 |
b11722f9c1fb995a0bcdfdfbb4a02a58
|
|
| BLAKE2b-256 |
97a573dc2096a7217bf1a4dbe5b2bf1212548b2dc9b647187987e6aa9b077fd2
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
153b0f6c70eb0b46b8326da4e942256ee823d819f271e5033a2669e1e6d95809
|
|
| MD5 |
099fc3075c6bf8ba92d5b0e299151e36
|
|
| BLAKE2b-256 |
35309af11d12d252f65d8ad4801f7c67105779a7c1ebe5e5eab6b184f4dff7aa
|