init method

Future<void> init()

初始化

Implementation

Future<void> init() async {
  _singleLogDeviceParams = getLogReportDeviceParams();
  dateRootPath = await getDateDirectoryPath();
  writeDeviceInfo();
  setupErrorHooks();
}