objwatch.wrappers package¶
Submodules¶
objwatch.wrappers.abc_wrapper module¶
- class objwatch.wrappers.abc_wrapper.ABCWrapper[source]¶
Bases:
ABCAbstract base class for function wrappers to extend tracing and logging functionality.
- abstract wrap_call(func_name: str, frame: FrameType) str[source]¶
Process and format the function call information.
- Args:
func_name (str): Name of the function being called. frame (FrameType): The current stack frame.
- Returns:
str: Formatted call message.
objwatch.wrappers.base_wrapper module¶
- class objwatch.wrappers.base_wrapper.BaseWrapper[source]¶
Bases:
ABCWrapperBaseWrapper implements the ABCWrapper abstract methods to provide basic logging functionality.
- wrap_call(func_name: str, frame: FrameType) str[source]¶
Format the function call information.
- Args:
func_name (str): Name of the function being called. frame (FrameType): The current stack frame.
- Returns:
str: Formatted call message.