echo #
Description #
The echo filter is used to output specified characters in the returned result. It is often used for debugging.
Function Demonstration #
Configuration Example #
A simple example is as follows:
flow:
- name: hello_world
filter:
- echo:
message: "hello infini\n"
The echo filter allows you to set the number of times that same characters can be output repeatedly. See the following example.
...
- echo:
message: "hello gateway\n"
repeat: 3
...
Parameter Description #
Name | Type | Description |
---|---|---|
message | string | Characters to be output |
repeat | int | Number of repetition times |
stdout | bool | Whether the terminal also outputs the characters. The default value is false . |