Skip to content

getLogs

getLogs() → array · System

Retrieves all log entries that have been recorded during the current transformation.

utlx
info("Processing started")
let result = map($input.items, (i) -> i.name)
info("Processing complete")
{
  result: result,
  logs: getLogs()
}

Released under AGPL-3.0.