@youpaichris/logger 6.1.1 → 6.1.2
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +4 -4
- package/package.json +1 -1
package/index.js
CHANGED
@@ -227,8 +227,8 @@ class Logger {
|
|
227
227
|
let pathLine = this?.path ? `[${this.path}:${__line}]` : "Anonymous";
|
228
228
|
loggerConfig.log(consoleStyles['green'][0] + dateFormat("YYYY-mm-dd HH:MM:SS.ms", new loggerConfig.Date()),
|
229
229
|
consoleStyles['red'][0] + consoleStyles['bold'][0] + "| " +
|
230
|
-
consoleStyles['bold'][0] + consoleStyles['
|
231
|
-
consoleStyles['blue'][0], ` ${pathLine.padEnd(22, " ")}${consoleStyles['
|
230
|
+
consoleStyles['bold'][0] + consoleStyles['cyan'][0] + "DEBUG " + consoleStyles['red'][0] + " |" +
|
231
|
+
consoleStyles['blue'][0], ` ${pathLine.padEnd(22, " ")}${consoleStyles['cyan'][0]}🚧`, consoleStyles['cyan'][0],
|
232
232
|
...msg,
|
233
233
|
consoleStyles['magenta'][1] + consoleStyles['bold'][1] + '\b'
|
234
234
|
);
|
@@ -241,8 +241,8 @@ class Logger {
|
|
241
241
|
let pathLine = this?.path ? `[${this.path}:${__line}]` : "Anonymous";
|
242
242
|
loggerConfig.log(consoleStyles['green'][0] + dateFormat("YYYY-mm-dd HH:MM:SS.ms", new loggerConfig.Date()),
|
243
243
|
consoleStyles['red'][0] + consoleStyles['bold'][0] + "| " +
|
244
|
-
consoleStyles['bold'][0] + consoleStyles['
|
245
|
-
consoleStyles['blue'][0], ` ${pathLine.padEnd(22, " ")}${consoleStyles['
|
244
|
+
consoleStyles['bold'][0] + consoleStyles['magenta'][0] + "CALL " + consoleStyles['red'][0] + " |" +
|
245
|
+
consoleStyles['blue'][0], ` ${pathLine.padEnd(22, " ")}${consoleStyles['magenta'][0]}🔔`, consoleStyles['magenta'][0],
|
246
246
|
...msg,
|
247
247
|
consoleStyles['cyan'][1] + consoleStyles['bold'][1] + '\b'
|
248
248
|
);
|