Search...
sourceLocation
Source code location information associated with the log entry.
Description
Provides location information for source code associated with the log entry.
Note: Currently only applicable for backend log entries with the
Velo
namespace.
Type:
LogEntrySourceLocationRead Only
NAME
TYPE
DESCRIPTION
file
string
Name of the source file.
line
number
Line within the source file. 1-based. 0 indicates no line number available.
Was this helpful?
Log entry source location information for an HTTP function
Request
Copy Code
1{2 // ...34 "sourceLocation": {5 "file": "http-functions.js",6 "line": 247 },89 // ...10}
Log entry source location information for a web module function
Request
Copy Code
1{2 // ...34 "sourceLocation": {5 "file": "backend/calculator.jsw", // web module6 "line": 147 },89 // ...10}