Logger level precedence discrepancy #4654
-
The logger documentation provides the list of options for the My assumption is that the option order was meant to show precedence. Anything to the left of the selected option will be included along with the option itself.
In actuality, setting Looking at the code, it looks like the precedence is different.
If the documentation was intending to show option precedence, then either this is a bug in code or the documentation should be updated with the correct level option order. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You are correct about the precedence: https://github.com/verdaccio/verdaccio/blob/master/website/docs/logger.md |
Beta Was this translation helpful? Give feedback.
-
Created PR #4723 |
Beta Was this translation helpful? Give feedback.
You are correct about the precedence:
http
is betweeninfo
anddebug
. Feel free to submit a PR to improve the docshttps://github.com/verdaccio/verdaccio/blob/master/website/docs/logger.md
https://github.com/verdaccio/verdaccio/blob/master/website/versioned_docs/version-5.x/logger.md
https://github.com/verdaccio/verdaccio/blob/master/website/versioned_docs/version-6.x/logger.md