mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-20 20:59:00 +00:00
Log Rest-Requests only in DEBUG Builds
This commit is contained in:
parent
aa7ffd8ce5
commit
2e0dc44756
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ public class APIHelper implements ErrorHandler, Profiler {
|
|||
.setEndpoint(server.toString())
|
||||
.setErrorHandler(this)
|
||||
.setProfiler(this)
|
||||
.setLogLevel(RestAdapter.LogLevel.FULL)
|
||||
.setLogLevel(BuildConfig.DEBUG ? RestAdapter.LogLevel.FULL : RestAdapter.LogLevel.NONE)
|
||||
.setRequestInterceptor(requestInterceptor)
|
||||
.setConverter(new GsonConverter(gson))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue