log
log
is a simple tag that will log anything to task logs section.
It can optionally accept a parameter. This parameter must be one of the following:
CRITICAL
ACTION
WARNING
INFO
Parameters will define the severity of the log.
Example
{{ "Hello world" | log: "INFO" }}
This will output Hello world in the task logs section. Same could be done with:
{{ "Hello world" | log }}
Number of logs that can be created during 24h period is limited to 1 million
Last updated