Constructor
new Logs(connection, endpoint)
Creates a new Logs instance to retrieve logs from a back-end.
Parameters:
Name | Type | Description |
---|---|---|
connection |
Connection | A Connection object representing an established connection to an openEO back-end. |
endpoint |
string | The relative endpoint to request the logs from, usually |
Members
(protected) connection :Connection
Type:
Methods
(async) next(limit) → {Promise.<LogsAPI>}
Retrieves the next log entries since the last request.
Retrieves the full response compliant to the API, including log entries and links.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
limit |
number | null | The number of log entries to retrieve per request, as integer. |
Returns:
- Type
- Promise.<LogsAPI>
(async) nextLogs(limit) → {Promise.<Array.<Log>>}
Retrieves the next log entries since the last request.
Retrieves log entries only.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
limit |
number | null | The number of log entries to retrieve per request, as integer. |
Returns:
- Type
- Promise.<Array.<Log>>