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="20180204205904|2438" />
  </query-continue>
  <query>
    <logevents>
      <item logid="2448" ns="0" title="Recent Updates" pageid="524" type="patrol" action="patrol" user="Gb003162" timestamp="2019-06-07T11:13:55Z" comment="">
        <patrol cur="2424" prev="2408" auto="1" />
      </item>
      <item logid="2447" ns="0" title="Equipment Menu" pageid="164" type="patrol" action="patrol" user="Gb003162" timestamp="2019-06-07T11:13:22Z" comment="">
        <patrol cur="2423" prev="2410" auto="1" />
      </item>
      <item logid="2446" ns="0" title="Camera Lowering Equipment" pageid="0" type="delete" action="delete" user="Gb003162" timestamp="2019-06-07T11:13:06Z" comment="Author request: content was: &quot;By means of the most recent innovations, Upshot UK Ltd are the primary supplier of a CE approved lowering device for CCTV and lighting equipment. The system all...&quot; (and the only contributor was &quot;[[Special:Contributions/Gb..." />
      <item logid="2445" ns="0" title="Contact us" pageid="168" type="patrol" action="patrol" user="Gb003162" timestamp="2019-04-16T16:02:00Z" comment="">
        <patrol cur="2422" prev="2421" auto="1" />
      </item>
      <item logid="2444" ns="0" title="Contact us" pageid="168" type="patrol" action="patrol" user="Gb003162" timestamp="2019-04-16T15:58:40Z" comment="">
        <patrol cur="2421" prev="2420" auto="1" />
      </item>
      <item logid="2443" ns="0" title="Contact us" pageid="168" type="patrol" action="patrol" user="Gb003162" timestamp="2018-04-13T09:06:02Z" comment="">
        <patrol cur="2420" prev="2419" auto="1" />
      </item>
      <item logid="2442" ns="0" title="Contact us" pageid="168" type="patrol" action="patrol" user="Gb003162" timestamp="2018-04-12T15:00:00Z" comment="">
        <patrol cur="2419" prev="2418" auto="1" />
      </item>
      <item logid="2441" ns="0" title="Contact us" pageid="168" type="patrol" action="patrol" user="Gb003162" timestamp="2018-04-12T14:56:54Z" comment="">
        <patrol cur="2418" prev="1360" auto="1" />
      </item>
      <item logid="2440" ns="0" title="General Data Protection Regulations (GDPR)" pageid="822" type="patrol" action="patrol" user="Gb003162" timestamp="2018-02-05T13:17:52Z" comment="">
        <patrol cur="2417" prev="2416" auto="1" />
      </item>
      <item logid="2439" ns="0" title="General Data Protection Regulations (GDPR)" pageid="822" type="patrol" action="patrol" user="Gb003162" timestamp="2018-02-04T21:03:16Z" comment="">
        <patrol cur="2416" prev="2413" auto="1" />
      </item>
    </logevents>
  </query>
</api>