Wouldn’t it be better to avoid cluttering the logs in the first place?
Depending on the level in the quality scale an integration should not spam the logs.
Integrations of quality level Silver or higher should “Correctly and automatically recover from connection errors or offline devices, without filling log files and without unnecessary messages.”
It doesn’t answer the question (as you want it from the integration/device screen) but if one want, using automations or whatever, you can change the logging of an integration in runtime Logger - Home Assistant