Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

gor_logger-1.0.0-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page