Search.../

Introduction

Note the following terminology:

  • Log entry: Single record of a Wix site event.
  • Log: Collection of log entries associated with the same site and namespace.

The following is an example of a LogEntry:

Log Entry for Console Log in HTTP Function

{
"timestamp": "2019-03-31T06:02:12.008Z",
"receiveTimestamp": "2019-03-31T06:02:12.925Z",
"severity": "INFO",
"insertId": "6axgiF6X45ftx7A1bjJBCh",
"labels": {
"siteUrl": "https://my-site.com",
"namespace": "Velo",
"tenantId": "fbd4e3c6-8e55-4098-b0ff-5e478b6c957e",
"viewMode": "Site",
"revision": "12"
},
"operation": {
"id": "1554017373.14484058793726342",
"producer": "httpFunction:myFunction",
},
"sourceLocation": {
"file": "http-functions.js",
"line": 14
},
"jsonPayload": {
"message": "myFunction called."
}
}
javascript | Copy Code

Note: Currently, you cannot add content to log entries. All log entry data is generated by Velo.

Was this helpful?