infection.decorators package
Submodules
infection.decorators.debugging_decorator module
This module defines the debugging_decorator decorator.
- infection.decorators.debugging_decorator.debugging_decorator(func)[source]
- This decorator will take any function and log information about the
function itself, its arguments, and the value it returns. Important: It will only log when running in debugging mode.
- Args:
func (function): The function to decorate
- Returns:
- value (function): The function after decoration when running in
debugging mode, otherwise the funcion is returned without decoration.