Log objects
Last updated
Last updated
Important Updates
đŖ Shopify REST DeprecationLog 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 tag.
Log objects appear wherever task run results are visible, including the task preview and when viewing an event.