log method

  1. @Deprecated('Use `AudioLogger.log()` or `AudioLogger.error()` instead. ' 'This will be removed in v5.0.0.')
void log(
  1. AudioLogLevel level,
  2. String message
)

Implementation

@Deprecated('Use `AudioLogger.log()` or `AudioLogger.error()` instead. '
    'This will be removed in v5.0.0.')
void log(AudioLogLevel level, String message) {
  if (level == AudioLogLevel.info) {
    AudioLogger.log(message);
  } else if (level == AudioLogLevel.error) {
    AudioLogger.error(message);
  }
}