MethodDecorator.Fody, IL Weaving

Good day everyone! Congratulations on moving to a new site.
I have a question about C# in relation to Unity.
It started with the fact that I wanted to make a logging function that could be called from each method and it would save data about what parameters this method was called with.
I wanted to make sure that the parameters did not need to be passed to the logging function and the recording was as short and simple as possible, and most importantly, did not require changes when called from different methods.
Using reflection, it was possible to obtain the types of variables that are passed to the method, but the values ​​of the variables cannot be obtained through reflection. I also considered the possibility of using a stack trace, but the function that returns data on the stack returns a binary array and representing the data as an array of objects is, if possible, not easy and I have not found how to do this.
But while studying this topic, I came across this method: MethodDecorator.Fody NuGet
I really liked this idea, when the OnEntry() and OnExit() methods are automatically made and for this you only need to add an attribute to the class. It’s really convenient and very short.
Similarly, a method similar in implementation can be used MethodBoundaryAspect.Fody

But it turned out that the library cannot be used directly in UNITY, since the version of NET used in Unity is not the same as that used in the library. I found the implementation Fody for UNITY
The question remains how and what needs to be changed in the MethodDecorator add-on so that it can be used with UNITY or maybe there is a version of this library completely ported to UNITY.

Also, similar mechanics through auto-generation of IL code are used in many UNITY assets. For example this is mentioned in the following packages
Weaver Pro
Loxodon.Framework 2.0 (Loxodon.Framework.ILRuntime)