logFatal function Null safety

String logFatal(
  1. String message,
  2. {Map<String, String>? extras,
  3. List<Type> exceptFor = const []}
)

It calls the logFatal method of the each LumberdashClient passed to putLumberdashToWork, and returns the given message. If you want to avoid logging to a particular client that was previously registered in putLumberdashToWork#withClients, use exceptFor to filter out that client.

Implementation

String logFatal(
  String message, {
  Map<String, String>? extras,
  List<Type> exceptFor = const [],
}) {
  _filterOutClientsAndLog(exceptFor, (c) => c.logFatal(message, extras));
  return message;
}