Skip to content

Commit 7e09a1c

Browse files
committed
Cleanup
1 parent 9ce8569 commit 7e09a1c

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

content/components/logger.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,19 @@ the original ESP32 or ESP8266) continue to use USB-to-serial bridge ICs for comm
126126

127127
Possible log levels are (sorted by severity):
128128

129-
| Level | Colour | Description |
129+
| Level | Color | Description |
130130
| -------------- | ------ | ----------- |
131131
| `NONE` | | No messages are logged. |
132-
| `ERROR` | Red | Only errors are logged. Errors are issues that prevent the ESP from working correctly. |
133-
| `WARN` | Yellow | Warnings and errors are logged. Warnings are issues like invalid readings from sensors that ESPHome can recover from. |
134-
| `INFO` | Green | Everything up to info messages are logged; so errors, warnings and info. |
135-
| `DEBUG` | Cyan | **Default** - Everything up to this log level is logged. Debug messages include the current readings from a sensor and status messages. |
136-
| `VERBOSE` | Grey | Like debug, but a few more messages that are usually deemed to be spam are also included. |
137-
| `VERY_VERBOSE` | White | All internal messages are logged. Including all the data flowing through data buses like I²C, SPI or UART. Warning: May cause the device to slow down and have trouble staying connecting due to amount of generated messages. |
132+
| `ERROR` | Red | Only errors are logged. Errors prevent the ESP from working correctly. |
133+
| `WARN` | Yellow | Warnings and errors. Warnings are recoverable issues like invalid sensor readings. |
134+
| `INFO` | Green | Errors, warnings and info messages are logged. |
135+
| `DEBUG` | Cyan | **Default** - Everything up to debug level. Includes sensor readings and status messages. |
136+
| `VERBOSE` | Gray | Like debug, but includes additional messages usually deemed to be spam. |
137+
| `VERY_VERBOSE` | White | All internal messages including data flowing through I²C, SPI and UART buses. |
138+
139+
> [!WARNING]
140+
> `VERY_VERBOSE` may cause the device to slow down and have trouble staying connected
141+
> due to the amount of generated messages.
138142

139143
{{< anchor "logger-manual_tag_specific_levels" >}}
140144

0 commit comments

Comments
 (0)