Application log line emitted while processing a request.
JSON representation |
---|
{ "time": string, "severity": enum( |
Field name | Type | Description |
---|---|---|
time |
string |
Approximate time when this log entry was made. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: |
severity |
enum( |
Severity of this log entry. |
logMessage |
string |
App-provided log message. |
sourceLocation |
object( |
Where in the source code this log message was written. |
SourceLocation
Specifies a location in a source code file.
JSON representation |
---|
{ "file": string, "line": string, "functionName": string, } |
Field name | Type | Description |
---|---|---|
file |
string |
Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name. |
line |
string |
Line within the source file. |
functionName |
string |
Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information is used in contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: qual.if.ied.Class.method (Java), dir/package.func (Go), function (Python). |