semvec/pypi-packages huggingface dataset:
entryexiterrorlogging 0.0.3
Custom Logging Package for entry, exit and error logging
Requires Python: >=3.6

## QuickEntryExitErrorLogging

A sample python package deployment utility for custom logging. It has functions for entry, exit and error logging. It takes the input dictionary (if present) and the logging entry type.
If no input dictionary is present pass None. Output will be a JSON format logged printed as below

{"TestEVENT": "EXIT", "status": "SUCCESS", "statusCode": "0000"}

{"TestEVENT": "EXIT", "status": "SUCCESS", "statusCode": "0000", "entryType": "insertUser", "opName": "insertUser", "src": "Cloud_Functions", "action": "Insert User", "respTime": "1 secs"}

{"TestEVENT": "ERROR", "status": "FAILURE", "statusCode": "9999"}


## Usage

import entryexiterrorlogging

dict = {"entryType": "insertUser", "opName": "insertUser", "src": "Cloud_Functions", "action": "Insert User"}

entryexiterrorlogging.entryEventLog(dict, "TestEVENT")

entryexiterrorlogging.exitEventLog(dict, "TestEVENT")

entryexiterrorlogging.errorEventLog(dict, "TestEVENT")