w static method

void w(
  1. List<LogCategory> categories,
  2. String message, [
  3. dynamic error
])

Implementation

static void w(List<LogCategory> categories, String message, [dynamic error]) {
  if (_shouldLogAny(categories, LogLevel.warning)) {
    final categoryNames = categories.map((c) => c.name).join('|');
    debugPrint('💛 [W][$categoryNames] $message');
    if (error != null) debugPrint('      Details: $error');
  }
}