API Documentation

\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.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

App Engine standard environment for PHP