@putkoff/abstract-logger 0.0.39 → 0.0.40
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
|
@@ -14892,7 +14892,7 @@ function getLogString(messageOrOptions, logType = null, details = null, function
|
|
|
14892
14892
|
resolvedFunctionName = resolveValue(resolvedFunctionName, caller.functionName);
|
|
14893
14893
|
resolvedFileLocation = resolveValue(resolvedFileLocation, caller.file);
|
|
14894
14894
|
const finalLogType = resolvedLogType ?? "info";
|
|
14895
|
-
const emoji = activityEmojiMap[
|
|
14895
|
+
const emoji = activityEmojiMap[resolvedLogType ?? ""] ??
|
|
14896
14896
|
"ℹ️";
|
|
14897
14897
|
const LOG_CONFIG = getLogConfig();
|
|
14898
14898
|
const condense = shouldCondense(finalLogType);
|