Gets the database log event information from the browser page.
array List of log events where each event is an array with following keys:
protected function getLogEntries() {
$entries = array();
if ($table = $this
->xpath('.//table[@id="admin-dblog"]')) {
$table = array_shift($table);
foreach ($table->tbody->tr as $row) {
$entries[] = array(
'severity' => $this
->getSeverityConstant($row['class']),
'type' => $this
->asText($row->td[1]),
'message' => $this
->asText($row->td[3]),
'user' => $this
->asText($row->td[4]),
);
}
}
return $entries;
}