log static method

void log({
  1. String? msg,
  2. Log? log,
  3. StackTrace? stack,
})

Implementation

static void log({final String? msg, Log? log, StackTrace? stack,}) {
  log ??= Log.i(msg ?? 'log msg is missing', stacktrace: stack);

  _logger.log(log);
}