We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently all warning messages are passed to console.warn, preventing escalation to e.g. Sentry
console.warn
Allow users to provider a custom warning handler matching the signature of warn.
warn
Currently console.warn can be overridden using the [intlify] prefix as an discriminator:
[intlify]
const originalWarn = window.console.warn; window.console.warn = (...args: any) => { if ( args[0] && typeof args[0] === 'string' && args[0].startsWith('[intlify]') ) { customHandler(...args); } originalWarn(...args); };
(Yikes!)
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Clear and concise description of the problem
Currently all warning messages are passed to
console.warn
, preventing escalation to e.g. SentrySuggested solution
Allow users to provider a custom warning handler matching the signature of
warn
.Alternative
Currently
console.warn
can be overridden using the[intlify]
prefix as an discriminator:(Yikes!)
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: