[Interest] Replace QML console object

Richard Weickelt richard at weickelt.de
Mon Jul 6 15:30:04 CEST 2020


I want to replace QML's console object with a custom implementation.

I have tried to replace the "console" property in the global object with not
luck.
I have tried to replace the method properties of the global console object
with no luck (as described here:
https://stackoverflow.com/questions/26909578/replace-logging-backend-for-console-debug-console-warn).

Is there any way to achieve that without touching the global logger backend?
That would interfere with QTest & friends which I want to avoid.

Thanks



More information about the Interest mailing list