@putkoff/abstract-logger 0.0.34 → 0.0.35
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 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -2
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -14550,7 +14550,6 @@ function padRight(str, width) {
|
|
|
14550
14550
|
}
|
|
14551
14551
|
const COLS = {
|
|
14552
14552
|
timestamp: 24,
|
|
14553
|
-
function: 28,
|
|
14554
14553
|
file: 16,
|
|
14555
14554
|
};
|
|
14556
14555
|
/* ------------------------------------------------------------------ */
|
|
@@ -14756,7 +14755,7 @@ function getLogString(messageOrOptions, logType = null, details = null, function
|
|
|
14756
14755
|
}
|
|
14757
14756
|
const emojiCol = padRight(emoji, 3);
|
|
14758
14757
|
const ts = padRight(timestamp, COLS.timestamp);
|
|
14759
|
-
const fn =
|
|
14758
|
+
const fn = resolvedFunctionName;
|
|
14760
14759
|
const fileName = padRight(resolvedFileLocation.trim(), COLS.file);
|
|
14761
14760
|
let line = `${emojiCol}` +
|
|
14762
14761
|
`[${ts}] ` +
|