@youpaichris/logger 6.0.8 → 6.0.9
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
@@ -259,8 +259,8 @@ class Logger {
|
|
259
259
|
consoleStyles['red'][0] + consoleStyles['bold'][0] + "| " +
|
260
260
|
consoleStyles['bold'][0] + consoleStyles['redBG'][0] + consoleStyles['white'][0] + "CRITICAL" + consoleStyles['redBG'][1] + consoleStyles['red'][0] + " |" +
|
261
261
|
consoleStyles['blue'][0], ` ${pathLine.padEnd(22, " ")}${consoleStyles['cyan'][0]}🔴 ${consoleStyles['white'][0]}`, consoleStyles['redBG'][0],
|
262
|
-
...msg
|
263
|
-
|
262
|
+
...msg,
|
263
|
+
consoleStyles['redBG'][1] + consoleStyles['bold'][1] + '\b', consoleStyles['redBG'][1] + consoleStyles['bold'][1] + '\b'
|
264
264
|
);
|
265
265
|
if (this.save) {
|
266
266
|
let _msg = `${dateFormat("YYYY-mm-dd HH:MM:SS.ms", new loggerConfig.Date())} | CRITICAL| ${pathLine.padEnd(22, " ")}${[...msg]}` + '\n';
|