@putkoff/abstract-logger 0.0.77 → 0.0.78
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 +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -15053,7 +15053,7 @@ function logit(messageOrOptions, logType = null, details = null, function_name =
|
|
|
15053
15053
|
/* -------------------------------------------------- */
|
|
15054
15054
|
/* 🔒 Single source of truth for logType */
|
|
15055
15055
|
/* -------------------------------------------------- */
|
|
15056
|
-
const finalLogType =
|
|
15056
|
+
const finalLogType = logType ?? "info";
|
|
15057
15057
|
// 🔒 overwrite raw input so downstream never guesses
|
|
15058
15058
|
opts.logType = finalLogType;
|
|
15059
15059
|
/* -------------------------------------------------- */
|