log
The log: command writes data to the automation log with a given severity. Automations that exit in the error
state also create entries to assist with error reporting and debugging.
start:
log: This is a notice
log.warn: This is a warning
log.error: This is an error
log.alert: This is an alert
Each log entry contains:
- automation name
- automation node
- created date
- log level (severity)
- message
Log entries are accessed with data queries.
Syntax
inputs:
A log message.
output:
(none)