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
ecgai-logging-0.0.4.tar.gz
(15.6 kB
view hashes)
Built Distribution
Close
Hashes for ecgai_logging-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9fc2a135d0e848674278b85ed93a5ebff9776346c96310b7125785bfe2b1f9c |
|
MD5 | d74ad1c6a2d3a3b7de179000d28db413 |
|
BLAKE2b-256 | af2f74e461fb28ec5de9d40a014a06a8adccaf809294c8a7bec0334171e3f39a |