setLogConfig method
Used to set the logging behavior.
Parameters:
logTypeis used to define the logging level. LogType.detailedLogis used to define if detailed log will be shown (Disable by default to avoid spam).
Important:
- If
logTypeis null, will be set toWARN. - If
detailedLogis null, will be set tofalse.
Implementation
Future<void> setLogConfig(LogConfig? logConfig) async {
return platform.setLogConfig(logConfig);
}