Is passive logging possible in .NET?

前端 未结 6 421
北海茫月
北海茫月 2021-02-02 03:19

I\'m frequently frustrated by the amount of logging I have to include in my code and it leads me to wonder if there\'s a better way of doing things.

I don\'t know if thi

6条回答
  •  孤城傲影
    2021-02-02 03:33

    This is the classic example from Aspect Oriented Programming. See PostSharp for a very good CLR-based library.

提交回复
热议问题