I wanted to try something, but I donβt know if it is possible. I want my code to listen on a third-party application method. I try to work when a method is called, and also to retrieve any arguments passed to this method.
For example, the method is called in a third-party application, as shown below:
LoggerClass.LogCreate(LogName, LogDetails)
I would like to know when LogCreate is called and then retrieves the information by retrieving the LogName and LogDetails strings. Then I would parse 2 lines for my own logger utility.
Is it possible?
Thanks in advance.
user1307904
source share