Log objects
Last updated
Was this helpful?
Last updated
Was this helpful?
Log objects are useful for recording information for later reference. They have no side-effects. Carefully chosen log objects can massively simplify post-hoc debugging, especially (as we've found) when investigating merchant bug reports.
A log object is a plain JSON object, having the following structure:
The log details can be any JSON value.
Log objects are most easily generated using the .
Log objects appear wherever task run results are visible, including the task preview and when viewing an event.