Closed AkosLukacs closed 10 years ago
Leaving out the .Data
collection by default is very intentional behavior. This is something we don't want to save by default.
Many exceptions throw things in .Data
, since that could be serialization chain or useless message as well. There are also other issues like form data with passwords, etc. that aren't desirable to include - that's why I explicitly have opt-in behavior here.
The .Procedure (behind an if check) is a good include though - if you split that into another pull request I'll happily accept it.
Created an another pull
I know, that these could be done with CustomData, or OnBeforeLog, but I think it's convenient to save these by default.
Also saving SqlException.Procedure, for anyone using SPs...