No project description provided
Project description
The GorLogger package
This Package is for the logging purpose for the multiprocessing/multithreading based python applications. As current python logging module lack in the multiprocessing based applications.
INSTALLATION
pip install gor_logger
USAGE
from gor_logger import GorLogger log_obj = GorLogger() logger = log_obj.getInstance('logger_name', 'log_file_name', './logs_directory', 'LOG_LEVEL')
LOGGING
logger.debug("This is debug message") logger.info("This is info message") logger.warning("This is warning message") logger.error("This is error message") logger.critical("This is critical message")
IMPORTANT
This logger module is tested with python3.9 and also it works with TimeRotatingFileHandler with rotation based on daily basis i.e separate log file for each day after midnight.
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 Distributions
Built Distribution
Hashes for gor_logger-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 845754f9ff2e22a302037cf7287ec5453f8d122e573b58109271eb07bab5f949 |
|
MD5 | 4a4ad57dd8a82a0bd16ce7b48d83d72a |
|
BLAKE2b-256 | 476195f574136ebf1112dd6522e7f16a1c62f771509fbd1ca90f4a668a678923 |