EzColorLog
is a simple pretty Python logging interface.
pip install ezcolorlog
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')
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')