logAllTo method

void logAllTo({
  1. MessageLogger? messageLogger,
  2. Object? logDestiny,
})

Logs all messages of this logger to messageLogger or to logDestiny.

Implementation

void logAllTo({MessageLogger? messageLogger, Object? logDestiny}) {
  messageLogger ??= resolveLogDestiny(logDestiny);

  _allMessageLogger = messageLogger;
}