@putkoff/abstract-logger 0.0.32 → 0.0.33
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 +3 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +3 -2
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -14757,10 +14757,11 @@ function getLogString(messageOrOptions, logType = null, details = null, function
|
|
|
14757
14757
|
if (condense) {
|
|
14758
14758
|
resolvedFileLocation = resolvedFileLocation.split("/").pop();
|
|
14759
14759
|
}
|
|
14760
|
+
const emojiCol = padRight(emoji, 3);
|
|
14760
14761
|
const ts = padRight(timestamp, COLS.timestamp);
|
|
14761
|
-
const fn = padRight(resolvedFunctionName, COLS.function);
|
|
14762
|
+
const fn = padRight(resolvedFunctionName.trim(), COLS.function);
|
|
14762
14763
|
const fileName = padLeft(resolvedFileLocation, COLS.file);
|
|
14763
|
-
let line = `${
|
|
14764
|
+
let line = `${emojiCol}` +
|
|
14764
14765
|
`[${ts}] ` +
|
|
14765
14766
|
`[${fn}] ` +
|
|
14766
14767
|
`${message}`;
|