c# - How to know when a method in a class is being executed -


i'm trying write log monitor execution time of method our application. possible know when method in class being executed without using aspect-oriented programming.

i don't want go every method write log there hope faced issue , can give me suggestion.

updated: i'm writing sharepoint application using .net 3.5

afaik, without aop or directly logging code injections way profiling api.
wouldn't choose way one-time task, isn't easy.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -