express-winston icon indicating copy to clipboard operation
express-winston copied to clipboard

`level` intentionally different from Winston?

Open codingthat opened this issue 4 years ago • 0 comments
trafficstars

Hi! Thanks for providing this great library. :)

I'm up-to-date:

    "express": "^4.17.1",
    "express-winston": "^4.1.0",
    "winston": "^3.3.3"

Is it intentional that level behaves differently than in Winston itself? Here it seems to set what logs are output as—i.e. you can make every request be output as an error—but there it seems to set the threshold for when logging occurs at all.

Let me know what you think. :) Thanks!

codingthat avatar Mar 12 '21 10:03 codingthat