Commit dd63bda2 authored by Mygod's avatar Mygod

Don't suppress log in debug builds

parent e6d7a085
...@@ -89,7 +89,7 @@ class ShadowsocksApplication extends Application { ...@@ -89,7 +89,7 @@ class ShadowsocksApplication extends Application {
} }
override def onCreate() { override def onCreate() {
java.lang.System.setProperty(LocalLog.LOCAL_LOG_LEVEL_PROPERTY, "ERROR") if (!BuildConfig.DEBUG) java.lang.System.setProperty(LocalLog.LOCAL_LOG_LEVEL_PROPERTY, "ERROR")
app = this app = this
AppCompatDelegate.setCompatVectorFromResourcesEnabled(true) AppCompatDelegate.setCompatVectorFromResourcesEnabled(true)
val tm = TagManager.getInstance(this) val tm = TagManager.getInstance(this)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment