mperdeck / jsnlog.js

Tiny JavaScript logging library, simple and well documented. Lots of options to filter logging data.
js.jsnlog.com
Other
130 stars 43 forks source link

Add json parameter to defaultBeforeSend #76

Closed MatHuf closed 4 years ago

MatHuf commented 4 years ago

The function provided to beforeSend receives 2 parameters, xhr and json. Added the json parameter as optional to avoid breaking existing code. http://js.jsnlog.com/Documentation/HowTo/AddingRequestHeaders

mperdeck commented 4 years ago

Thanks for your pull request. Apologies about the very long delay, this project has been in hibernation for too long.