logOneLiner
Name | Type | Description | Optional |
---|---|---|---|
caption0 |
string |
caption to be added to output |
yes |
caption1 |
string |
caption to be added to output |
yes |
… |
|||
caption N-1 |
string |
caption to be added to output |
yes |
Name | Type | Description | Optional |
---|---|---|---|
input |
?0 |
data to be displayed following captions |
no |
Name | Type | Description | Optional |
---|---|---|---|
ack |
?0 |
data of JSON-compatible type |
no |
Prints the location (circuit name and node key) of the log
node itself; the caption parameters; and the input data in external form, to stderr. In the AWS execution environment, messages to stderr are captured by the logging mechanisms, e.g., CloudWatch. The fields of the output messages are colon-separated.
log
accepts Transparency types that can be printed, namely strings numbers and symbols, and renders them using ordinary Transparency output operations. logJSON
and logOneLiner
take JSON-compatible types, which include boolean, strings, symbols, numbers, tuples, maps, lists, vectors and sets over JSON-compatible types, and prints them in standard JSON external format. logJSON
indents its output and logOneLiner
does not. Ordinarily the latter two routines are to be preferred, but sometimes one wants the simpler Transparency rendering of strings, for example.