Error logging in C#

前端 未结 15 1960
一个人的身影
一个人的身影 2020-12-04 06:11

I am making my switch from coding in C++ to C#. I need to replace my C++ error logging/reporting macro system with something similar in C#.

In my C++ source I can w

15条回答
  •  时光说笑
    2020-12-04 06:46

    Log4Net, as others have said, is fairly common and similar to Log4j which will help you if you ever do any Java.

    You also have the option of using the Logging Application Block http://www.codeproject.com/KB/architecture/GetStartedLoggingBlock.aspx

提交回复
热议问题