Skip to main content Link Menu Expand (external link) Document Search Copy Copied
setLogLevel method - FlutterSoundRecorder class - recorder library - Dart API
menu
setLogLevel

setLogLevel method

void setLogLevel(
  1. Level aLevel
)

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

void setLogLevel(Level aLevel) {
  _logLevel = aLevel;
  _logger = Logger(level: aLevel);
  if (_isInited != Initialized.notInitialized) {
    FlutterSoundRecorderPlatform.instance.setLogLevel(this, aLevel);
  }
}
flutter_sound 9.25.3