Hi!
I want to log all calls to all class methods with a specific attribute. How would i do this?
This is what I have so far:
class ExecutionLogAttribute : Attribute
{
}
public class Human
{
private Int32 age;
[ExecutionLog]
public void HaveBirthday()
{
age++;
}
}
What would now be the best way to log all calls to HaveBirthday?