setLogLevel method
Used if the App wants to dynamically change the Log Level. Seldom used. Most of the time the Log Level is specified during the constructor.
Implementation
Future<void> setLogLevel(Level aLevel) async {
_logLevel = aLevel;
_logger = Logger(level: aLevel);
await _lock.synchronized(() async {
if (_isInited) {
await TauRecorderPlatform.instance.setLogLevel(
this,
aLevel,
);
}
});
}