Add the ability of register an error listener, the main thing here, is have the ability of log the error in some logger like crashlytics, sentry or something like that.
Moreover, I added a NONE log level in order to avoid possible performance issues for example in production
Additional info
NONE
log level in order to avoid possible performance issues for example in production