logWarning static method

  1. @Deprecated('Use logWarn instead')
void logWarning(
  1. String msg, {
  2. bool? isLog,
  3. bool? execFinalFunc,
  4. String? printOnceIfContains,
  5. int debounceMs = 0,
  6. String? debounceKey,
  7. String? tag,
})

@deprecated Use logWarn instead. This will be removed in future versions. Warning - Yellow text for warning messages (deprecated, use logWarn) @parammsg: The message string to be logged @paramisLog: If set to true, logs regardless of the static enable flag @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

@Deprecated('Use logWarn instead')
static void logWarning(String msg,
    {bool? isLog,
    bool? execFinalFunc,
    String? printOnceIfContains,
    int debounceMs = 0,
    String? debounceKey,
    String? tag}) {
  logWarn(msg,
      isLog: isLog,
      execFinalFunc: execFinalFunc,
      printOnceIfContains: printOnceIfContains,
      debounceMs: debounceMs,
      debounceKey: debounceKey,
      tag: tag);
}