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