@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/cjs/index.js +4 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +4 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -15041,7 +15041,10 @@ function logit(messageOrOptions, logType = null, details = null, function_name =
|
|
|
15041
15041
|
return "";
|
|
15042
15042
|
}
|
|
15043
15043
|
// 🔹 Phase 2: expensive caller inspection (ONLY NOW)
|
|
15044
|
-
const
|
|
15044
|
+
const skipExternal = typeof opts.skip === "number" && opts.skip >= 0
|
|
15045
|
+
? opts.skip
|
|
15046
|
+
: 0;
|
|
15047
|
+
const caller = getCallerInfo(skipExternal);
|
|
15045
15048
|
resolvedFunctionName = resolveValue(resolvedFunctionName, caller.functionName);
|
|
15046
15049
|
resolvedFileLocation = resolveValue(resolvedFileLocation, caller.file);
|
|
15047
15050
|
/* -------------------------------------------------- */
|