logDebug static method
Alias for log method - logs a debug/normal level message
This is the recommended method name. The log method is deprecated.
@parammsg: The message string to be logged
@paramisLog: If set to true, logs regardless of the static enable flag
@paramcolorInt: ANSI color code (0 to 107) for text color customization
@paramfileLocation: Custom file location string; if null, auto-detects from stack trace
@paramtime: Custom timestamp for the log; if null, uses current time
@paramsequenceNumber: Sequence number for log ordering
@paramname: Custom name/tag for the log entry; if null, uses the level name
@paramzone: Dart Zone where the log originates from
@paramerror: Associated error object to be logged alongside the message
@paramstackTrace: Stack trace information for debugging
@paramexecFinalFunc: If true, executes the custom final function exeFinalFunc
@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 logDebug(
String msg, {
bool? isLog,
int? colorInt,
String? fileLocation,
DateTime? time,
int? sequenceNumber,
String? name,
Zone? zone,
Object? error,
StackTrace? stackTrace,
bool? execFinalFunc,
String? printOnceIfContains,
int debounceMs = 0,
String? debounceKey,
String? tag,
}) {
log(
msg,
level: DevLevel.normal,
isLog: isLog,
colorInt: colorInt,
fileLocation: fileLocation,
time: time,
sequenceNumber: sequenceNumber,
name: name,
zone: zone,
error: error,
stackTrace: stackTrace,
execFinalFunc: execFinalFunc,
printOnceIfContains: printOnceIfContains,
debounceMs: debounceMs,
debounceKey: debounceKey,
tag: tag,
);
}