Option For Logging WidgetID Always When Using Console Log - CLIENT

Hi,

I was wondering if it would be possible to always show which widget is producing the console.log when logging in to the client window. Would something like this be possible?

As my OSC template grows, and I do a lot of debugging/coding, I often forget to disable some console.logs. Then of course they start spitting out data in the console log and I spend a good amount of time tracking down which one is producing the logs. Another thought along this line is when errors happen, for example, I received a canvas drawing error about the length being undefined, and it took me a bit to figure out which canvas was causing that issue as it didn't say.

I was thinking something simple if the options was enabled, the logs could be like this:

widgetIDHere: whateveryourconsoleloghere...

Cheers!

Good idea !

1 Like