It will be great to have the ability to add dynamic implementations for logging purposes for doOnError()
or onErrorResumeNext
.
eg. imagine that we want to track logs for crash reporting reasons for our data layer, so what we could do, is to create a custom ErrorLoggingAction
and we could attach it manually. Another option is to create an observable facade which it could include this logging automatically.
But imagine the interface RxLogObservableAdapter
which can implement our logic there and we must init it once in Application
class.