log function

void log(
  1. String message, {
  2. LogFilterKind? kind = LogFilterKind.debug,
})

Implementation

void log(String message, {LogFilterKind? kind = LogFilterKind.debug}) {
  if (kind != LogFilterKind.debug || Analytics.debug) {
    final log = LogFactory.buildLog(LogDestination.log, message, kind ?? LogFilterKind.debug);
    LogFactory.logger.parseLog(log);
  }
}