log
log(message) appends a timestamped line to hooks.log in the job’s directory (or server.log for API server context).
Signature
Section titled “Signature”log(message)
asyncParameters
Section titled “Parameters”| Param | Type | Description |
|---|---|---|
message |
string | The message to append |
Returns
Section titled “Returns”None.
Example
Section titled “Example”local items = extract_items(page)log("extracted " .. #items .. " items")