If you don’t control the Electrum server you connect to, you can’t know what logging or monitoring they’re using.
For example, they could be running a free and open source Electrum server implementation like Fulcrum, but put it behind a reverse proxy that logs all traffic.
The software running on your wallet and/or hardware signing device can’t protect you against a logging third-party server.