logToConsole function

void logToConsole({
  1. bool enabled = true,
})

Logs all logging messages to console.

Implementation

void logToConsole({bool enabled = true}) {
  var loggerHandler = _resolveLoggerHandler();
  loggerHandler.logToConsole(enabled: enabled);
}