\google\appengine\api\log
bookmark_borderbookmark
Stay organized with collections
Save and categorize content based on your preferences.
Classes
Contains the details of a single application log created by calling
Thrown when there is a failure using the LogService.
The LogService allows an application to query for request and application
logs. Application logs are added to a the current request log by calling
{@link http://php.net/manual/en/function.syslog.php syslog(int $priority,
string $message)}. The $priority used when creating the application log is
translated into a different scale of severity used by the LogService based
on the following mappings,
- LOG_DEBUG => LogService::LEVEL_DEBUG
- LOG_INFO => LogService::LEVEL_INFO
- LOG_NOTICE => LogService::LEVEL_INFO
- LOG_WARNING => LogService::LEVEL_WARNING
- LOG_ERR => LogService::LEVEL_ERROR
- LOG_CRIT => LogService::LEVEL_CRITICAL
- LOG_ALERT => LogService::LEVEL_CRITICAL
- LOG_EMERG => LogService::LEVEL_CRITICAL
Represents the details of a single request and may optionally contain
application logs written during the request using the syslog
function.
Allows request logs to be iterated using a standard foreach statement but
fetches the results in batches as needed.
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 2022-07-21 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-07-21 UTC."],[[["`AppLogLine` class holds the details of individual application logs."],["`LogException` is thrown when there are issues using the `LogService`."],["`LogService` enables querying for both request and application logs, with application logs added via the `syslog` function and mapped to specific severity levels."],["`RequestLog` class contains information about a single request and can include application logs written during that request."],["`RequestLogIterator` class allows for efficient iteration of request logs, fetching data in batches."]]],[]]