feat: quiet mode with logger config #759
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I checked these 2 old PRs.
#702
#732
Both have the problem to add conditionals instead of using a config in the logger. I also see the issue created in consola unjs/consola#253, but I noticed that consola already have a possibility to do that but is not fowarded to used with the
useLogger
of nuxt/kitSo I created another PR in nuxt to make configuration possible. nuxt/nuxt#24243
But I think that is not necesary here so I create this PR, to create a logger and just modify the level in the setup.