livekit / client-sdk-js

LiveKit browser client SDK (javascript)
https://livekit.io
Apache License 2.0
334 stars 143 forks source link

Add ability to avoid setting log levels to localStorage #1194

Open thepacketloss opened 1 month ago

thepacketloss commented 1 month ago

Describe the problem

Currently the log levels will be write to localStorage and we have no options to avoid it

Describe the proposed solution

Add a boolean option to setLevel method to control this behaviour The logLevel package already has this option : https://github.com/pimterry/loglevel#logsetlevellevel-persist

Alternatives considered

No response

Importance

would make my life easier

Additional Information

No response