Remove writing suggesting INFO logs are not allowed in integrations (#2358)

This commit is contained in:
Erik Montnemery 2024-10-09 09:27:42 +02:00 committed by GitHub
parent 0faaf12ed5
commit 639bb9d448
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,7 +39,7 @@ _LOGGER.error("No route to device: %s", self._resource)
```
Do not print out API keys, tokens, usernames or passwords (even if they are wrong).
Also note that `_LOGGER.info` is reserved for the core, use `_LOGGER.debug` for anything else.
Be restrictive with `_LOGGER.info`, use `_LOGGER.debug` for anything which is not targetting the user.
### Use new style string formatting