Commit e8b3c90f authored by Christophe Deschamps's avatar Christophe Deschamps
Browse files

Dump config to log when state is On

parent ace7bb27
......@@ -106,8 +106,7 @@ class CoreContext(val context: Context, coreConfig: Config) {
override fun onGlobalStateChanged(core: Core, state: GlobalState, message: String) {
Log.i("[Context] Global state changed [$state]")
if (state == GlobalState.On) {
Log.i("[Context] Configuration is \n : ${core.config.dump()}")
}
}
......
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