PHP 5 has reached end of support and will be deprecated on January 31, 2026. After deprecation, you won't be able to deploy PHP 5 applications, even if your organization previously used an organization policy to re-enable deployments of legacy runtimes. Your existing PHP 5 applications will continue to run and receive traffic after their deprecation date. We recommend that you migrate to the latest supported version of PHP.

\google\appengine\api\log\AppLogLine

FINAL

Contains the details of a single application log created by calling

See also

syslog within the context of a request.

Methods

getLevel

getLevel() : integer

The severity of the log message. This differs from the level passed to syslog as described in @link LogService.

Returns

integer

The log severity.

getMessage

getMessage() : string

Returns

string

The message logged by the application.

getTimeUsec

getTimeUsec() : double

Returns

double

The time the log was created in microseconds since the Unix epoch.

getDateTime

getDateTime() : \google\appengine\api\log\DateTime

Returns The same value as {@link getTimeUsec()} as a DateTime.

Returns

\google\appengine\api\log\DateTime

The time the log was created accurate to the second.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年06月16日 UTC.