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
The comments about "Write all logs with importance level of error or less to error.log" is incorrect. It should rather be "Write all logs with importance level of error or higher to error.log"
Same applies to the next comment
This really gave me a hard time testing to find out the right way. Hope it doesn't trouble others
What version of Winston presents the issue?
v3.11.0
What version of Node are you using?
v18.18.0
If this worked in a previous version of Winston, which was it?
No response
Minimum Working Example
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
Maybe it would be more clarifying to say higher (i.e., error, fatal, but not other levels) higher (i.e., fatal, error, warn, and info, but not trace)
just to be super explicit for folks who aren't familiar with standard logging levels. PR welcome.
cslee0034
added a commit
to cslee0034/winston
that referenced
this issue
Aug 31, 2024
🔎 Search Terms
https://github.com/winstonjs/winston#usage
The problem
The comments about "Write all logs with importance level of
error
or less toerror.log
" is incorrect. It should rather be "Write all logs with importance level oferror
or higher toerror.log
"Same applies to the next comment
This really gave me a hard time testing to find out the right way. Hope it doesn't trouble others
What version of Winston presents the issue?
v3.11.0
What version of Node are you using?
v18.18.0
If this worked in a previous version of Winston, which was it?
No response
Minimum Working Example
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: