Skip to main content

This package help you to keep logs

Project description

#Developer : Avik Das

##Steps to run the package :

  1. pip install pkglogger==
  2. from pkglogger import pkglogger

logger() ''' You need to call this function at TRY block

Var 1 : Pass the file name you want to create \n Var 2 : Pass Function name if you want to track function wise logs. To do this, you want keep this call at Function Level\n Var 3 : If you want to give any specific value as Task Status\n Var 4 : Path where you want to create the log file. Please pass value as string.\n Var 5 : If any other parameter you want keep track, pass variable name as you want\n Var 6 : Pass the value of the additional variable you have added ''' Example : logger('log3','loggertest','','','URL','http://test.com123')

exceptionlogger() ''' You need to call this funcion at EXCEPTION bloack

Var 1 : Pass the file name you want to create\n Var 2 : Pass Function name if you want to track function wise logs. To do this, you want keep this call at Function Level\n Var 3 : Please pass the exception value. Example : except Exception as e\n Var 4 : If you want to give any specific value as Task Status\n Var 5 : Path where you want to create the log file. Please pass value as string.\n Var 6 : If any other parameter you want keep track, pass variable name as you want\n Var 7 : Pass the value of the additional variable you have added\n '''

*Return the exception details as well *

Project details


Download files

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

Source Distribution

pkglogger-0.0.15.9.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

pkglogger-0.0.15.9-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file pkglogger-0.0.15.9.tar.gz.

File metadata

  • Download URL: pkglogger-0.0.15.9.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for pkglogger-0.0.15.9.tar.gz
Algorithm Hash digest
SHA256 c80c06d2e59f4a28a2361bbe3b15ccf97793c0db433eb637821f7a148fdee834
MD5 941a976234988acf9d2f97ebc2598224
BLAKE2b-256 4e034828de7ffb4b9f881f390b64e6e4186cdb5a90f465f64f0cc868bd7ccd0d

See more details on using hashes here.

File details

Details for the file pkglogger-0.0.15.9-py3-none-any.whl.

File metadata

  • Download URL: pkglogger-0.0.15.9-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for pkglogger-0.0.15.9-py3-none-any.whl
Algorithm Hash digest
SHA256 f339939c3c3c0ecd4d76f1b0cbfa6ed2d0daf52cc5b450da4c0cb78e5c3bdcf6
MD5 afcba2d9832b0d963bdde6c3c6d5fb46
BLAKE2b-256 e628b2303ad71bfd1ea0a572c427c78b73958f814bd6f2e260172addedc2d454

See more details on using hashes here.

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