Note : I wanted to go the extra mile and add make this extendable using @callback instead of just adding a boolean to enable, disabled log. I think it might be useful but it also add more bit more code and I don't know if it will be used for anything else than disabling / enabling the log so.. 😄
In this PR I wanted to introduce the possibility to swap the Logger implementation so that users can decide how WaffleEcto will log potential errors.
Having error log from an external library is not always wanted in production project and some might want to have control over that.
This PR gives now the ability to disable the error logs by adding this to a config file
Note : I wanted to go the extra mile and add make this extendable using
@callback
instead of just adding a boolean to enable, disabled log. I think it might be useful but it also add more bit more code and I don't know if it will be used for anything else than disabling / enabling the log so.. 😄