Merge pull request #10843 from yjajkiew/current

Fix markdown table syntax for system log events
This commit is contained in:
Franck Nijhof 2019-10-17 11:07:19 +02:00 committed by GitHub
commit 557dc51e3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ Write a log entry
Errors and warnings are posted as the event `system_log_event`, so it is possible to write automations that trigger whenever a warning or error occurs. The following information is included in each event: Errors and warnings are posted as the event `system_log_event`, so it is possible to write automations that trigger whenever a warning or error occurs. The following information is included in each event:
| Field | Description | | Field | Description |
|-------------------------------------------------------------------------------------------| |-------------|-----------------------------------------------------------------------------|
| `level` | Either `WARNING` or `ERROR` depending on severity. | | `level` | Either `WARNING` or `ERROR` depending on severity. |
| `source` | File that triggered the error, e.g., `core.py` or `media_player/yamaha.py`. | | `source` | File that triggered the error, e.g., `core.py` or `media_player/yamaha.py`. |
| `exception` | Full stack trace if available, an empty string otherwise. | | `exception` | Full stack trace if available, an empty string otherwise. |