I can’t configure mediasoup client logger. No matter what I do it still logs it to browser console.
I used debug.disable(), I set localStorage.setItem(‘debug’, ‘-mediasoup*’)
I tried this and I tried that, nothing seems to work.
Basically I just would like to make the console less noise, to remove things like:
Try doing “localStorage.setItem(‘debug’, ‘*’)” to show everything. I don’t think that rule you mentioned works. Something like ‘mediasoup-client:*’ would instead.
He wants to remove mediasoup-client logs so - is ok. Problem is that he is trying to use the debug api ( debug.disable()) which means that he is also importing debug in his app, but it could be a version different than the one used by mediasoup-client so it’s not the same debug object.
@skavish try writing into localStorage with your desired debug namespace value and then refresh the page.