From 639bb9d44823066b10761b877c1d13adf3106c20 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Wed, 9 Oct 2024 09:27:42 +0200 Subject: [PATCH] Remove writing suggesting INFO logs are not allowed in integrations (#2358) --- docs/development_guidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/development_guidelines.md b/docs/development_guidelines.md index 5efd0451..1c4e52b8 100644 --- a/docs/development_guidelines.md +++ b/docs/development_guidelines.md @@ -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