shout method
Logs a shout message.
message is the log message.
scope is the scope or context of the log.
error is the associated error.
stackTrace is the associated stack trace.
Implementation
void shout(
String message,
String scope,
Error? error,
StackTrace? stackTrace,
) {
StackTrace? currentStackTrace = stackTrace;
if (error != null && currentStackTrace == null) {
currentStackTrace = error.stackTrace;
}
log(Level.SHOUT, message, scope, error, currentStackTrace, formatter);
}