LogLine Stay organized with collections Save and categorize content based on your preferences.
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). |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-21 UTC.