Request Fields
string
The name of the mirror to get logs for.
An empty string will return logs for all mirrors in the PeerDB instance.
string
The log level to filter logs by. Can be one of
ALL, INFO, WARN, or ERROR. Defaults to ALL.number
The page number to retrieve.
number
The number of logs to retrieve per page. If set to 0 or unset, no logs will be returned and a total count of logs will be returned.
number
The ID of the last log to retrieve logs before.
number
The ID of the first log to retrieve logs after.
Response Fields
array
An array of logs. The name is misleading here - it can contain info and warns as well, not just errors.
number
The total number of logs available.
number
The current page number.

