Inside the called functions, Im able to log everything except the arguments (as shown in previous messages), since the call stack is non reliable.
From the decorator, I also can log everything except the modified arguments.
Is there a way to get a dict/structure/list of arguments, inside the called function? From StackOverflow, I see answers telling to use locals(). It indeed does exactly what I need, but then I get an other issue: Using locals() duplicates function arguments
Thanks!