logWarning static method

void logWarning(
  1. String msg, {
  2. bool? isLog,
  3. bool? execFinalFunc,
})

Yellow text

Implementation

static void logWarning(String msg, {bool? isLog, bool? execFinalFunc}) {
  final String fileInfo = Dev.isLogFileLocation ? '(${StackTrace.current.toString().split('\n')[1].split('/').last}: ' : '';
  DevColorizedLog.logCustom(
    msg,
    enable: Dev.enable,
    colorInt: execFinalFunc != null && execFinalFunc ? _exeColorMap[DevLevel.logWar]! : _logColorMap[DevLevel.logWar]!,
    isLog: isLog,
    fileInfo: fileInfo,
    level: 1000,
    name: 'logWar',
    execFinalFunc: execFinalFunc,
  );
}