Logging erros in SqlLite database from C# Windows Forms Application
Posted
by Ismail S
on Stack Overflow
See other posts from Stack Overflow
or by Ismail S
Published on 2010-05-03T06:20:48Z
Indexed on
2010/05/03
6:28 UTC
Read the original article
Hit count: 444
I'm developing a win app in C# which communicates to a WCF Service. I want to log exceptions that are thrown on client to be logged in Sql Lite Database (Win app is using Sql Lite database for storing data locally). And then later it should be sent to the wcf service when required so that it can be useful for support/analysis/application improvement.
I want a method which can be directly called in every catch block simply by LogHelper.Log(ex)
.
I would like to know if anyone has done it through Enterprise library or used any good practice for such situation?
© Stack Overflow or respective owner