setLogPath static method
设置Log路径
logPath
Log路径
maxPartFileSizeInKB
每个分片最大大小。最终日志总体积是 5*最大分片大小
Implementation
static Future<void> setLogPath(
String logPath,
int maxPartFileSizeInKB,
) async {
Map params = {
"logPath": logPath,
"maxPartFileSizeInKB": maxPartFileSizeInKB.toString(),
};
return _liveBaseMethodChannel.invokeMethod(
'setLogPath',
wrapArgs(arg: params),
);
}