Closed NickRimmer closed 8 years ago
If you want to toggle logging at runtime, use Hugo.setEnabled(true|false)
I can't find Hugo.setEnabled. What I am doing wrong?
buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.0.0-beta6' classpath 'com.jakewharton.hugo:hugo-plugin:1.2.1' } } apply plugin: 'com.android.application' apply plugin: 'com.jakewharton.hugo'
public class App extends Application{ @Override public void onCreate() { super.onCreate(); if(BuildConfig.DEBUG) { Hugo.setEnabled(true); } } }
Duplicate. #104
Maybe you want to say about this moment in README.md? (=
I can't find Hugo.setEnabled. What I am doing wrong?