setLogLevel method

void setLogLevel(
  1. LogLevel level, {
  2. LogCategory? category,
})

Set the log level for the given category.

If category is not provided, the log level will be set LogCategory.realm.

Implementation

void setLogLevel(LogLevel level, {LogCategory? category}) {
  category ??= LogCategory.realm;
  realmCore.setLogLevel(level, category: category);
}