I have a product based on react-router framework in SPA mode (no SSR). I didn't find a way to send all the console.logs and exceptions from the frontend to logfire.
Is there a way to instrument them automatically?
the @opentelemetry/auto-instrumentations-web doesn't do it by default.
I guess I can capture errors with
window.addEventListener("error", (event) => {
logfire.error(error)
})
but what about all the logs
I have a product based on react-router framework in SPA mode (no SSR). I didn't find a way to send all the console.logs and exceptions from the frontend to logfire.
Is there a way to instrument them automatically?
the
@opentelemetry/auto-instrumentations-webdoesn't do it by default.I guess I can capture errors with
but what about all the logs