@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/esm/index.js
CHANGED
|
@@ -15051,7 +15051,7 @@ function logit(messageOrOptions, logType = null, details = null, function_name =
|
|
|
15051
15051
|
/* -------------------------------------------------- */
|
|
15052
15052
|
/* 🔒 Single source of truth for logType */
|
|
15053
15053
|
/* -------------------------------------------------- */
|
|
15054
|
-
const finalLogType =
|
|
15054
|
+
const finalLogType = logType ?? "info";
|
|
15055
15055
|
// 🔒 overwrite raw input so downstream never guesses
|
|
15056
15056
|
opts.logType = finalLogType;
|
|
15057
15057
|
/* -------------------------------------------------- */
|