initializeWith method

void initializeWith(
  1. Logger logger
)

Replaces the current logger with the given logger. This is typically used to set a TUI compatible logger.

Implementation

void initializeWith(final cli.Logger logger) {
  logger.logLevel = _logger.logLevel;
  _logger = logger;
}