android10 / frodo

Android Library for Logging RxJava Observables and Subscribers.
1.48k stars 101 forks source link

Dynamic implementation in doOnError() or onErrorResumeNext for release builds #31

Open spirosoik opened 8 years ago

spirosoik commented 8 years ago

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.

android10 commented 7 years ago

@spirosoik sorry for the late reply.

Good feedback to keep an eye on for the next version of frodo :)