abe545 / CodeOnlyStoredProcedures

A library for easily calling Stored Procedures in .NET using only code (no xml or gui).
MIT License
4 stars 3 forks source link

Add ability to specify logger #66

Open abe545 opened 8 years ago

abe545 commented 8 years ago

It would be great to specify a logger either globally, or for a specific stored procedure. Could be done with a new logger interface. Need Begin, Finish, Exception methods. Would probably take an IDbCommand as an argument, and perhaps the result set in the Finish method. The Exception method would quite clearly take the Exception that was thrown.