Log all function invocations to console

前端 未结 5 1044
醉梦人生
醉梦人生 2021-01-24 01:43

It occurs pretty often that I start debugging a class by logging every function call to console and looking for differences in the bugged cases. Is there some attribute that I c

5条回答
  •  北海茫月
    2021-01-24 02:00

    There was an add-on tool someone mentioned to me, using Attributes. Let's see if I can find it.

    I think it was PostSharp:

    Article

    http://www.postsharp.org/

提交回复
热议问题