Decorator function for function level logging
Project description
ecgai-logging
Logging decorator for both sync and async functions. Logging is carried out at logging levels DEBUG and INFO.
INFO logs Module name, Method name, Variables, Returns, Elapsed time
DEBUG logs Module name, Method name, Variables, Returns, Elapsed time, Synchronous or Asynchronous function type, Working directory, Start time, End time All times recorded in UTC
Exceptions are logged if the exception is not handled in code or the exception is handled and raised. If the exception is handled in code and not raised it is not logged by this decorator
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ecgai-logging-0.0.4.tar.gz.
File metadata
- Download URL: ecgai-logging-0.0.4.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65d695e4d6fd497248c26349e4309a2454af57eac9d95b035ed741244e578c7c
|
|
| MD5 |
9355cd63ceb0d3fcb4d3d6e6546368de
|
|
| BLAKE2b-256 |
89c7941dd7873ea5465e03e665c3f2ce8224510abbe008ac3da2ae5f239f7c9f
|
File details
Details for the file ecgai_logging-0.0.4-py3-none-any.whl.
File metadata
- Download URL: ecgai_logging-0.0.4-py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9fc2a135d0e848674278b85ed93a5ebff9776346c96310b7125785bfe2b1f9c
|
|
| MD5 |
d74ad1c6a2d3a3b7de179000d28db413
|
|
| BLAKE2b-256 |
af2f74e461fb28ec5de9d40a014a06a8adccaf809294c8a7bec0334171e3f39a
|