src/Service/DatabaseLogListGetter.php
public function getLogList( $type = null, $action = null, $namespace = 0 ) {
		$query = $this->db->from( 'logging' )
			->select( array(
				'log_id', 'log_type', 'log_action', 'log_timestamp', 'log_user',
				'log_namespace', 'log_title', 'log_comment', 'log_page', 'log_params'
			) )
			->where( 'log_type', $type )
			->where( 'log_action', $action )
			->where( 'log_namespace', $namespace );

		$rows = $query->fetchAll();
		$logList = new LogList();

		foreach( $rows as $row ) {
			$logList->addLog( $this->getLogFromRow( $row ) );
		}

		return $logList;
	}
public function getLogList( $type = null, $action = null, $namespace = 0 ) {
		$query = $this->db->from( 'logging' )
			->select( array(
				'log_id', 'log_type', 'log_action', 'log_timestamp', 'log_user',
				'log_namespace', 'log_title', 'log_comment', 'log_page', 'log_params'
			) )
			->where( 'log_type', $type )
			->where( 'log_action', $action )
			->where( 'log_namespace', $namespace );

		$rows = $query->fetchAll();
		$logList = new LogList();

		foreach( $rows as $row ) {
			$logList->addLog( $this->getLogFromRow( $row ) );
		}

		return $logList;
	}
@param string|null $type filter log entries by type
@param string|null $action filter log entries by action, overrides $type
@param int $namespace filter log entries in the given namespace

@return LogList