App Engine PHP SDK  v1 rev.445
The PHP runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google\appengine\api\log\AppLogLine Class Reference

Public Member Functions

 __construct (\google\appengine\LogLine $pb)
 
 getLevel ()
 
 getMessage ()
 
 getTimeUsec ()
 
 getDateTime ()
 

Detailed Description

Contains the details of a single application log created by calling syslog within the context of a request.

Constructor & Destructor Documentation

google\appengine\api\log\AppLogLine::__construct ( \google\appengine\LogLine  $pb)
Parameters
LogLine$pbThe underlying protocol buffer.

Member Function Documentation

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

Returns The same value as getTimeUsec() as a DateTime.

Returns
DateTime The time the log was created accurate to the second.
google\appengine\api\log\AppLogLine::getLevel ( )

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

google\appengine\api\log\AppLogLine::getMessage ( )
Returns
string The message logged by the application.
google\appengine\api\log\AppLogLine::getTimeUsec ( )
Returns
double The time the log was created in microseconds since the Unix epoch.

The documentation for this class was generated from the following file: