Describe the bug
In no logs mode (log: -1), some logs are still presents, even if they're useful to debug, they should be absent when the configuration explicitely sets logging to be disabled.
To Reproduce
- Set up
iframe-resizer with the log: -1 option.
- Introduce an error within the setup
- Observe the browser console.
I set up a minimal repro https://codesandbox.io/p/devbox/prdpzk which is dumb but explains the point
Expected behavior
The log: -1 option should globally and completely suppress all console output and internal logging related to the library
Screenshots
Desktop (please complete the following information):
- OS: Mac OS 26.0.1
- Browser: chrome (v 141.0.7390.108)
- Version: 5.5.7
Additional context
this already has been discussed here :
#1526