logFatal function
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;
}