SQL Server T-SQL error capture and logging framework

Hi,
I am looking for a framework/code code to add debug statements while executing a TSQL code. Previously I have come across log4plsql but this framework is for Oracle and I need something on SQL server 2008 T-SQL

http://log4plsql.sourceforge.net/docs/UserGuide.html

I can develop something myself. I want to avoid this effort.

Thanks
crazywolf2010Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

crazywolf2010Author Commented:
Hi,
I found log4TSQL :  http://sourceforge.net/projects/log4tsql/files/Alpha%20Builds/

I have downloaded alpha release but I don't see any details on how to use it? Anyone used it before?

Thanks
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ZberteocCommented:
Why not using the SQL error handling statement TRY ... CATCH:

http://msdn.microsoft.com/en-us/library/ms175976(v=sql.90).aspx
0
crazywolf2010Author Commented:
This resolved my current issue
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.