Log method/decorator to easily log methods
I think we miss an easy helper or decorator that can be applied to methods and easily log *args
and **kwargs
.
Right now we have to manually construct all the messages like:
log_debug_data(self, f"In _write", {"fc":func_code,"addr":address, "value":value, "struct_format":struct_format)
but is a bit annoying and verbose.
I am thinking about something similar to PyTango @tango.DebugIt()
Edited by Piergiorgio Pancino