Overriding the console for server side rendered website in Qwik

Hi gentlemen,

I currently face the issue that the website I have build writes errors to the console. I am not sure where to override the console, so that it takes effect for libraries in a server side rendered scenario. The root.tsx seems to be to late.

Did anybody encounter that issue already and has a solution?