I am trying to think on the best way to enter a statistic and some kind of logging in to my program.
1. does anyone have a good article about statistics to implement in a program ?
2. can i create an attribute to have before some method that call on a timer to measure the time it took to run ?for example
class A
{
[RunTimer]
public void Foo()
{
// do stuff
}
}
EDIT
well we want to have the opportunity to have the possibility of controlling the statistics during run time, not just ob dev or QA time.