setLogger method

void setLogger(
  1. Logger logger
)

Replaces the default logger set in configurations with new Logger with new configurations.

Implementation

void setLogger(Logger logger) {
  _callJsMethod(() {
    _jsObject.setLogger(logger._jsObject);
  });
}