This package help you to keep logs
Project description
#Developer : Avik Das
##Steps to run the package :
- pip install pkglogger==
- from pkglogger import pkglogger
logger() ''' You need to call this function at TRY block
Var 1 : Pass the file name you want to create Var 2 : Pass Function name if you want to track function wise logs. To do this, you want keep this call at Function Level Var 3 : If you want to give any specific value as Task Status Var 4 : Path where you want to create the log file. Please pass value as string. Var 5 : If any other parameter you want keep track '''
exceptionlogger() ''' You need to call this funcion at EXCEPTION bloack
Var 1 : Pass the file name you want to create Var 2 : Pass Function name if you want to track function wise logs. To do this, you want keep this call at Function Level Var 3 : If you want to give any specific value as Task Status Var 4 : Path where you want to create the log file. Please pass value as string. Var 5 : If any other parameter you want keep track Var 6 : Please pass the exception value. Example : except Exception as e '''
*Return the exception details as well *
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pkglogger-0.0.15.8.tar.gz
.
File metadata
- Download URL: pkglogger-0.0.15.8.tar.gz
- Upload date:
- Size: 3.7 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 892cfa807cb5e9c0699cc39924ff04b78c5d670110abbcfb2413369188f91411 |
|
MD5 | 27dba14422d36b59a4b496ce4db64532 |
|
BLAKE2b-256 | 3b0066994bd20c26a495125eab1fea5a9436ae9b294223be07104acee10d31e4 |
File details
Details for the file pkglogger-0.0.15.8-py3-none-any.whl
.
File metadata
- Download URL: pkglogger-0.0.15.8-py3-none-any.whl
- Upload date:
- Size: 3.7 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ead3e62429755b03ca63294efa23c07f653dbcef06ce33da6806835b754938d8 |
|
MD5 | bdaa61bc97d4d8ec39d718cbb41941b1 |
|
BLAKE2b-256 | c337794731435fdb6e6011df5f8639148478dcad779e79346d91ad2268b7e76f |