setLogger method

void setLogger(
  1. Logger logger
)

Sets the logger to be used by the application.

Implementation

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