Simple way to perform error logging?

后端 未结 9 1494
佛祖请我去吃肉
佛祖请我去吃肉 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:39

    You could use SimpleLog.

    It's a simple, but robust and powerful one-class logging solution, easy to understand, easy to integrate and easy to use. No need to spend days for setting up and customize log4Net, with that class, you're done in minutes.

    Though it currently logs to a file, it should be easily customizable to log to a database.

    http://www.codeproject.com/Tips/585796/Simple-Log

提交回复
热议问题