docs: added custom logger info#10108
Merged
patak-cat merged 5 commits intovitejs:mainfrom Feb 24, 2023
Merged
Conversation
Signed-off-by: GurkiranSingh <gurkiransinghk@gmail.com>
sapphi-red
reviewed
Sep 18, 2022
Member
|
Thanks for the PR @g4rry420! @antfu exposed the logger so the community could reuse it. Maybe we could document changing the prefix instead? (see original PR #2019) |
Contributor
Author
|
@patak-dev What do you think of this example ? |
Member
|
I think it's fine to document this for now even with it's slightly un-ergonomic API to customize it so that others know how to filter out certain warnings. I've also moved it as a config options docs instead which I think is a bit more fitting, but happy to discuss further too. |
bluwy
approved these changes
Feb 24, 2023
patak-cat
approved these changes
Feb 24, 2023
futurGH
pushed a commit
to futurGH/vite
that referenced
this pull request
Feb 26, 2023
Co-authored-by: 翠 / green <green@sapphi.red> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Signed-off-by: GurkiranSingh gurkiransinghk@gmail.com
Description
Added the information about Custom Logger. Please, let me know if you see any errors :)
Resolves #9597
Additional context
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123).