setLogFilter method

  1. @override
  2. @deprecated
Future<void> setLogFilter(
  1. LogFilter filter
)

Sets the output log level of the SDK.

You can use one or a combination of the filters. The log level follows the sequence of OFF, CRITICAL, ERROR, WARNING, INFO, and DEBUG. Choose a level to see the logs preceding that level. For example, if you set the log level to WARNING, you see the logs within levels CRITICAL, ERROR, and WARNING.

Deprecated

This method is deprecated from v3.3.1.

Parameter filter Sets the log filter level. See LogFilter.

Implementation

@override
@deprecated
Future<void> setLogFilter(LogFilter filter) {
  return _invokeMethod('setLogFilter', {
    'filter': LogFilterConverter(filter).value(),
  });
}