@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/esm/index.js
CHANGED
|
@@ -14755,10 +14755,11 @@ function getLogString(messageOrOptions, logType = null, details = null, function
|
|
|
14755
14755
|
if (condense) {
|
|
14756
14756
|
resolvedFileLocation = resolvedFileLocation.split("/").pop();
|
|
14757
14757
|
}
|
|
14758
|
+
const emojiCol = padRight(emoji, 3);
|
|
14758
14759
|
const ts = padRight(timestamp, COLS.timestamp);
|
|
14759
|
-
const fn = padRight(resolvedFunctionName, COLS.function);
|
|
14760
|
+
const fn = padRight(resolvedFunctionName.trim(), COLS.function);
|
|
14760
14761
|
const fileName = padLeft(resolvedFileLocation, COLS.file);
|
|
14761
|
-
let line = `${
|
|
14762
|
+
let line = `${emojiCol}` +
|
|
14762
14763
|
`[${ts}] ` +
|
|
14763
14764
|
`[${fn}] ` +
|
|
14764
14765
|
`${message}`;
|