com.google.appengine.api.log
Interface LogService
-
public interface LogService
LogService
allows callers to request the logs for an application using supplied filters. Logs are returned in anIterable
that yieldsRequestLogs
, which contain request-level information and optionallyAppLogLine
objects containing the application logs from the request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface and Description static class
LogService.LogLevel
-
Field Summary
Fields Modifier and Type Field and Description static int
DEFAULT_ITEMS_PER_FETCH
The number of items that each underlying RPC call will retrieve by default.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.Iterable<RequestLogs>
fetch(LogQuery query)
Retrieve logs for the current application with the constraints provided by the user as parameters to this function.
-
-
-
Field Detail
-
DEFAULT_ITEMS_PER_FETCH
static final int DEFAULT_ITEMS_PER_FETCH
The number of items that each underlying RPC call will retrieve by default.- See Also:
- Constant Field Values
-
-
Method Detail
-
fetch
java.lang.Iterable<RequestLogs> fetch(LogQuery query)
Retrieve logs for the current application with the constraints provided by the user as parameters to this function. Acts synchronously.- Parameters:
query
- A LogQuery object that contains the various query parameters that should be used in the LogReadRequest. If versions and majorVersionIds are both empty, fetch will retrieve logs for the current running version.- Returns:
- An Iterable that contains a set of logs matching the requested filters.
-
-