@putkoff/abstract-logger 0.0.74 → 0.0.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -15039,7 +15039,10 @@ function logit(messageOrOptions, logType = null, details = null, function_name =
15039
15039
  return "";
15040
15040
  }
15041
15041
  // 🔹 Phase 2: expensive caller inspection (ONLY NOW)
15042
- const caller = getCallerInfo(opts.skip ?? 0);
15042
+ const skipExternal = typeof opts.skip === "number" && opts.skip >= 0
15043
+ ? opts.skip
15044
+ : 0;
15045
+ const caller = getCallerInfo(skipExternal);
15043
15046
  resolvedFunctionName = resolveValue(resolvedFunctionName, caller.functionName);
15044
15047
  resolvedFileLocation = resolveValue(resolvedFileLocation, caller.file);
15045
15048
  /* -------------------------------------------------- */