logDebug function

void logDebug(
  1. String message, {
  2. int stackSkip = 0,
  3. int stackDeep = 5,
})

Implementation

void logDebug(String message, {int stackSkip = 0, int stackDeep = 5}) {
  if (!kDebugMode) return;
  Fimber.d(message, stacktrace: LimitedStackTrace(
    stackTrace: StackTrace.current,
    skipFirst: stackSkip + 1,
    deep: stackDeep,
  ));
}