Click here to Skip to main content
14,836,619 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all,

i am trying to use Enterprise library 5.0 for exception logging.

Using the tool come along the library i would configure the database where log should go in.

However i am unable to put the table name where log should go and which enterprise library class should i use to log the exceptions in the database table?

Can any one help me out on this? Sample code would be more helpful.

Thanks.
Posted

1 solution

Loggin calls are always the same. The destination where the logging will go to is configurable.
Please find some quick information here: http://bloggingabout.net/blogs/dennis/archive/2009/07/21/quickstart-tutorial-into-enterprise-library-logging.aspx[^].
Some more can be found here: http://www.pnpguidance.net/category/EnterpriseLibrary.aspx[^].

This shouild also proove helpfull: http://msdn.microsoft.com/en-us/library/ff664633(v=PandP.50).aspx[^].

Cheers!

—MRB
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900