static Future<void> setLogConfig(int logLevel) { Map config = {'logLevel': logLevel}; ZIM.getInstance()?.setLogConfig(mapToJSObj(config)); return Future.value(); }