/python3-logging

Library to run the logging library with colors according to the type of log.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

python3-logging

Library to run the logging library with colors according to the type of log.

Installation

Installation can be done through the pip3 command:

pip3 install procamora-logging --user

You can also update the library with:

python3 -m pip install --user --upgrade procamora-logging

Basic Usage

To use this class the first thing to do is import the library:

from procamora_logging.logging import get_logging
logger: logging = get_logging(verbose=False, name='sqlite')

logger.debug(msg)
logger.info(msg)
logger.warning(msg)
logger.error(msg)
logger.critical(msg)