Hi Folks,
I have always wondered that there are so many methods available for logging errors, it maybe using log4net, NHibernate or writing the exceptions to database directly using normal ADO.NET methodologies in the catch block or using
Nspring..log4net and NHibernate can also be used for logging directly into database, but somehow that method is kind of weird. Why go for all those dlls when we can log into database using simple ADO ?
Which remains the best way and why ? Considering that writing the exception to the database directly using ADO techniques remains the easiest way. (Condition is I want to log my errors in the database and not in a text file which can become too tedious,
indeed for logging in text files log4net and similar dlls are useful)
Regards,
Dev
Go to the complete details ...