configureLogging method

HubConnectionBuilder configureLogging(
  1. Logger logger
)

Configures console logging for the HubConnection.

logger: this logger with the already configured log level will be used. Returns the builder instance, for chaining.

Implementation

HubConnectionBuilder configureLogging(Logger logger) {
  _logger = logger;
  return this;
}