EOSIO / eosio-java-android-rpc-provider

Pluggable RPC provider for EOSIO SDK for Java
https://eosio.github.io/eosio-java-android-rpc-provider/
MIT License
9 stars 8 forks source link

Better Network Logs for Debug Mode #21

Open brandonfancher opened 5 years ago

brandonfancher commented 5 years ago

Improve flexibility to show better network logs for debug mode even the library is consumed by release version from Artifactory.

anguyenqd commented 5 years ago

We should have a new field in Rpc implementation to enable logging instead of leaning to BuildConfig.DEBUG then consumer of the library can just do something like

rpcProvider.enableDebug(true)
or 
rpcProvider.enableLogging(true)