Aspect Oriented Logging with Unity\T4\anything else

后端 未结 2 1223
逝去的感伤
逝去的感伤 2021-01-12 08:51

In my application we have a trace logger. We have log statements added at the beginning and end of most of the important methods tracing the method name and the parameter va

相关标签:
2条回答
  • 2021-01-12 09:30

    Use PostSharp.

    They also list lots of alternative http://www.sharpcrafters.com/postsharp/alternatives

    0 讨论(0)
  • 2021-01-12 09:56

    Yes, You can use Unity but you should user Unity "Interception extension". nice article here

    0 讨论(0)
提交回复
热议问题