You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried to print using Console transpost with a custon format like [LEVEL] - timestamp: message. For that, I used the printf on format co I could use toUpperCase() on info.level, which worked at first. The problem occured when I tried to combine it with colorize what made it stops showing info.level on console
What version of Logform presents the issue?
v2.4.2
What version of Node are you using?
v16.17.0
If this worked in a previous version of Logform, which was it?
The problem
Tried to print using Console transpost with a custon format like
[LEVEL] - timestamp: message
. For that, I used theprintf
on format co I could usetoUpperCase()
on info.level, which worked at first. The problem occured when I tried tocombine
it withcolorize
what made it stops showing info.level on consoleWhat version of Logform presents the issue?
v2.4.2
What version of Node are you using?
v16.17.0
If this worked in a previous version of Logform, which was it?
No response
Minimum Working Example
INFO -> hello
with no colors-> hello
.toUpperCase()
function it printsinfo -> hello
with level in greenAdditional information
No response
🔎 Search Terms
colorize, printf, string methods, toUpperCase
The text was updated successfully, but these errors were encountered: