shout method

void shout(
  1. String message,
  2. String scope,
  3. Error? error,
  4. StackTrace? stackTrace,
)

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);
}