log method

void log(
  1. String message, {
  2. String? tag,
  3. Object? error,
  4. StackTrace? stackTrace,
  5. Zone? zone,
})

Implementation

void log(String message,
    {String? tag, Object? error, StackTrace? stackTrace, Zone? zone}) {
  Logger(tag ?? 'TAG').log(Level.INFO, message, error, stackTrace, zone);
}