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.
Release files for gor-logger 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gor_logger-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / gor_logger-1.0.0-py3-none-any.whl
| Download URL | gor_logger-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
845754f9ff2e22a302037cf7287ec5453f8d122e573b58109271eb07bab5f949
|
|
BLAKE2b-256 checksum How to use checksums |
476195f574136ebf1112dd6522e7f16a1c62f771509fbd1ca90f4a668a678923
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.4
|