mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-09 18:36:29 +00:00
Remove writing suggesting INFO logs are not allowed in integrations (#2358)
This commit is contained in:
parent
0faaf12ed5
commit
639bb9d448
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user