karl-rousseau / HybridTvViewer

[WIP] Web extension making Firefox & Chrome emulate iTV webpages instead of downloading them.
MIT License
67 stars 25 forks source link

Disable debugging logs #17

Closed tiphedor closed 4 years ago

tiphedor commented 4 years ago

Hello,

I'd like a way to disable the debug logging that is spamming the console. It looks like there is a _DEBUG_ flag, but it seem to be hardcoded to true, with no way that i could find to disable it.

Is there a solution that i'm missing ? :)

Thanks a lot !

karl-rousseau commented 4 years ago

Hi,

You are right and I am removing this flag as I already did externalize this part of code (in a proper ES6 module) that I need to commit. I have also converted most console.log to console.timeStamp in order to see them inside devtools performance inspector panel (i.e. only useful for HbbTV developers)

Regards.