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.10.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

pkglogger-0.0.15.10-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pkglogger-0.0.15.10.tar.gz
  • Upload date:
  • Size: 3.3 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.10.tar.gz
Algorithm Hash digest
SHA256 3d472dc93bfef873a594f38d4330b8ca3284306260f84ea87b5692dbe9081a9e
MD5 b1279b7ea35572e6dde1e75b4707cc27
BLAKE2b-256 2ea5c251834d0dcdb1110440de8fc8edb965c84f3a923e60d98d800623f0b30e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pkglogger-0.0.15.10-py3-none-any.whl
  • Upload date:
  • Size: 3.8 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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 6a3f64cd0d9bc139fbc100a91e358edf6ac543a1c9725c5e29de34795d85a981
MD5 3a50c41377c68d85e4e2c926cc0fa331
BLAKE2b-256 e716b7db1bb142cd4542eb72734d589b8b76b7eaa1da5577f7afdb5fa9840144

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