Note the following terminology:
The following is an example of a LogEntry
:
Log Entry for Console Log in HTTP Function
Note: Currently, you cannot add content to log entries. All log entry data is generated by Velo.
Unique identifier for the log entry.
Each log entry is assigned a unique ID. A log entry with the same insertId
as another log entry indicates a duplicate.
Payload of the log entry in JSON format.
Additional information about the log entry.
Additional information about a potentially long-running operation associated with the log entry.
Some operations, such as an HTTP function call or a scheduled task, include
several log entries. The operation
object lets you identify all log entries
associated with a specific operation via the operation ID, which is unique
to each operation.
You can also use the producer
property to identify the context of the
operation, such as a URL path for page code or an HTTP function name.
Note: Currently only applicable for log entries with the Velo
namespace.
{
// ...
"operation": {
"id": "1554017373.14484058793726342",
"producer": "page:/about", // URL path of page within site
},
// ...
}