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 details)

Uploaded Python 3

File details

Details for the file gor_logger-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: gor_logger-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for gor_logger-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 845754f9ff2e22a302037cf7287ec5453f8d122e573b58109271eb07bab5f949
MD5 4a4ad57dd8a82a0bd16ce7b48d83d72a
BLAKE2b-256 476195f574136ebf1112dd6522e7f16a1c62f771509fbd1ca90f4a668a678923

See more details on using hashes here.

Supported by

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