Open WaltzingPenguin opened 3 hours ago
In my mind, the ideal solution is for Svelte to always log to an ILogger
object. Consumers of the library could call a setLogger()
function with their implementation of the ILogger
they want/need, and if none is set, the default ILogger would simply log to the console.
Describe the problem
Svelte 5 introduced a fair number of warning that may be issued at runtime:
binding_property_non_reactive
,state_proxy_equality_mismatch
, etc.. These are "warnings" in that the window doesn't crash, but they all indicate real errors and the application will not work as expected. There's currently no good way to capture these errors and send them to Sentry/Bugsnag/etc.Describe the proposed solution
I would like to see either:
Importance
nice to have