Write a line to the log (as configured in the [log]
section of the config file).
name | example | optional | default | placeholders |
---|---|---|---|---|
level | "Debug" , "Info" , "Warning" , "Error" |
✔ | "Info" |
❌ |
template | "Alarm '{{alarm_name}}' was triggered." |
❌ | ✔ |
Level of the log messages generated by the action.
Log message template. This is the text that will go into the log with the placeholders replaced.