-
-
Notifications
You must be signed in to change notification settings - Fork 372
Open
Description
Clear and concise description of the problem
Currently there are some places where plain console is used (well, it's everywhere createLogger is used).
It leads to some lost logging, if rspack/webpack uses infrastructureLogging and we are sending/reading those elsewhere.
I see some plugins using it, but not core.
Related with #3831 a bit, more proper way though imo.
Suggested solution
Use infrastructureLogging if it is exists, createLogger otherwise.
Alternative
- add a logger param to options
- solve only Disable Logger based on env vars #3831
Additional context
No response
Validations
- Read the Contributing Guidelines.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Metadata
Metadata
Assignees
Labels
No labels