Simple way to perform error logging?

后端 未结 9 1491
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-30 03:52

I\'ve created a small C# winforms application, as an added feature I was considering adding some form of error logging into it. Anyone have any suggestions for good ways to go a

9条回答
  •  -上瘾入骨i
    2021-01-30 04:48

    Well log4net works like a brick. It may be a bit hard to configure, but its worth it. It also allows you to configure file locking of those log files etc.

    http://www.codeproject.com/Articles/140911/log4net-Tutorial

提交回复
热议问题