You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <logevents lecontinue="20170616203447|573" />
  </query-continue>
  <query>
    <logevents>
      <item logid="583" ns="0" title="Data Access" pageid="146" type="patrol" action="patrol" user="Paul" timestamp="2021-02-04T00:05:13Z" comment="">
        <patrol cur="658" prev="607" auto="1" />
      </item>
      <item logid="582" ns="1" title="Talk:FRIANT REGION" pageid="148" type="delete" action="delete" user="Paul" timestamp="2021-01-11T21:12:30Z" comment="Spam: content was: &quot;http://mewkid.net/when-is-xuxlya2/ - Amoxil &lt;a href=&quot;http://mewkid.net/when-is-xuxlya2/&quot;&gt;Amoxil Dose For 55 Pounds&lt;/a&gt; jev.kwhl.wiki.farwestern.com.lrs.qt http://mewkid.net/when-is-xuxlya2/  == Then post-drainage radiopaque overweig..." />
      <item logid="581" ns="0" title="Main Page" pageid="1" type="patrol" action="patrol" user="Paul" timestamp="2018-05-21T18:00:30Z" comment="">
        <patrol cur="608" prev="604" auto="1" />
      </item>
      <item logid="580" ns="0" title="Data Access" pageid="146" type="patrol" action="patrol" user="Paul" timestamp="2018-05-21T17:59:11Z" comment="">
        <patrol cur="607" prev="606" auto="1" />
      </item>
      <item logid="579" ns="0" title="Data Access" pageid="146" type="patrol" action="patrol" user="Paul" timestamp="2018-03-09T20:54:41Z" comment="">
        <patrol cur="606" prev="0" auto="1" />
      </item>
      <item logid="578" ns="2" title="User:Pmikkelsen" pageid="0" type="rights" action="rights" user="Paul" timestamp="2018-03-07T17:39:29Z" comment="">
        <rights new="fw-editor" old="" />
      </item>
      <item logid="577" ns="2" title="User:Pat" pageid="0" type="rights" action="rights" user="Paul" timestamp="2018-03-07T17:38:03Z" comment="">
        <rights new="fw-editor" old="" />
      </item>
      <item logid="576" ns="2" title="User:Pmikkelsen" pageid="0" userid="30" type="newusers" action="create2" user="Paul" timestamp="2018-03-06T21:54:35Z" comment="" />
      <item logid="575" ns="2" title="User:Pwebster" pageid="0" userid="29" type="newusers" action="create2" user="Paul" timestamp="2017-11-07T20:32:09Z" comment="" />
      <item logid="574" ns="2" title="User:Sdavisking" pageid="0" userid="28" type="newusers" action="create2" user="Paul" timestamp="2017-07-17T17:00:41Z" comment="" />
    </logevents>
  </query>
</api>