cmem_client.logging_utils¤
Logging utilities.
Note: This module uses Any for kwargs to match the stdlib logging interface signature.
Functions:
- install_trace_logger – Install TRACE level logging dynamically.
- log_method – Wrapper to log entry and exit of methods using TRACE level.
Attributes:
TRACE_LEVEL¤
install_trace_logger¤
Install TRACE level logging dynamically.
log_method¤
Wrapper to log entry and exit of methods using TRACE level.
Note: Don’t use this on methods with sensitive information as they might get logged too
Returns:
- wrapper (
Callable) – The wrapped method, which logs its arguments on entry and its result on exit.