Customize error logging.
LogProvider
component.
For example, if your app contains a Counter component, you can configure it to only log errors like this:
LogProvider
component allows you to control logging behavior for your components. It works by:
error
- Only show errorswarn
- Show warnings and errorsinfo
- Show info messages, warnings and errorsdebug
- Show all log messagesoff
- Disable all logging