exeFatal static method
Execute fatal level log with custom final function
@parammsg: The message string to be logged
@paramisLog: If set to true, logs regardless of the static enable flag
@paramisMultConsole: If true, enables multi-console logging mode
@paramisDebug: If true, prints only on debug mode; if null, uses static isDebugPrint
@paramcolorInt: ANSI color code (0 to 107) for text color customization
@paramerror: Associated error object to be logged alongside the message
@paramstackTrace: Stack trace information for debugging
@paramprintOnceIfContains: If provided, only prints once when message contains this keyword
@paramdebounceMs: Debounce time interval in milliseconds, logs within this interval will be discarded
@paramdebounceKey: Custom key for debounce identification (if not provided, uses msg|devLevel|name as fallback)
@paramtag: Tag for show and filtering; displayed in log output, and when isFilterByTags is true, only logs with tags matching tags are displayed
Implementation
static void exeFatal(
String msg, {
bool? isLog,
bool? isMultConsole,
bool? isDebug,
int? colorInt,
Object? error,
StackTrace? stackTrace,
String? printOnceIfContains,
int debounceMs = 0,
String? debounceKey,
String? tag,
}) {
// Let exe() handle stack trace extraction for better performance
Dev.exe(msg,
isLog: isLog,
isMultConsole: isMultConsole,
isDebug: isDebug,
colorInt: colorInt ?? _exeColorMap[DevLevel.fatal],
level: DevLevel.fatal,
error: error,
stackTrace: stackTrace,
printOnceIfContains: printOnceIfContains,
debounceMs: debounceMs,
debounceKey: debounceKey,
tag: tag);
}