logSuccess static method

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

Green text

Implementation

static void logSuccess(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.logSuc]! : _logColorMap[DevLevel.logSuc]!,
    isLog: isLog,
    fileInfo: fileInfo,
    name: 'logSuc',
    execFinalFunc: execFinalFunc,
  );
}