Log objects
Log objects are useful for recording information for later reference. They have no side-effects, and they are not prominently displayed to the user. 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:
1
{
2
"log": LOG_DETAILS
3
}
Copied!
The log details can be any JSON value.
Log objects are most easily generated using the log tag.
Last modified 6mo ago
Copy link
Edit on GitHub