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="20190902203332|2589" />
  </query-continue>
  <query>
    <logevents>
      <item logid="2599" ns="0" title="Contact us" pageid="168" type="patrol" action="patrol" user="Gb003162" timestamp="2019-09-19T14:34:17Z" comment="">
        <patrol cur="2441" prev="2440" auto="1" />
      </item>
      <item logid="2598" ns="0" title="Contact us" pageid="168" type="patrol" action="patrol" user="Gb003162" timestamp="2019-09-19T14:33:52Z" comment="">
        <patrol cur="2440" prev="2422" auto="1" />
      </item>
      <item logid="2597" ns="0" title="Sample Chapter: 2 Fundamentals of video" pageid="0" type="delete" action="delete" user="Gb003162" timestamp="2019-09-02T21:51:44Z" comment="content was: &quot;#REDIRECT [[Fundamentals of Video]]&quot; (and the only contributor was &quot;[[Special:Contributions/Gb003162|Gb003162]]&quot;)" />
      <item logid="2596" ns="0" title="Sample Chapter: 15 Transmission, cable" pageid="0" type="delete" action="delete" user="Gb003162" timestamp="2019-09-02T21:51:40Z" comment="content was: &quot;#REDIRECT [[Transmission of Video Signals by Cable]]&quot; (and the only contributor was &quot;[[Special:Contributions/Gb003162|Gb003162]]&quot;)" />
      <item logid="2595" ns="0" title="Sample Chapter: 18 Video motion detection" pageid="0" type="delete" action="delete" user="Gb003162" timestamp="2019-09-02T21:51:24Z" comment="content was: &quot;#REDIRECT [[Video Motion Detection]]&quot; (and the only contributor was &quot;[[Special:Contributions/Gb003162|Gb003162]]&quot;)" />
      <item logid="2594" ns="0" title="Light and illumination" pageid="0" type="delete" action="delete" user="Gb003162" timestamp="2019-09-02T21:51:20Z" comment="content was: &quot;#REDIRECT [[Light and Illumination]]&quot; (and the only contributor was &quot;[[Special:Contributions/Gb003162|Gb003162]]&quot;)" />
      <item logid="2593" ns="0" title="Leasing CCTV" pageid="0" type="delete" action="delete" user="Gb003162" timestamp="2019-09-02T21:51:16Z" comment="content was: &quot;#REDIRECT [[Leasing]]&quot; (and the only contributor was &quot;[[Special:Contributions/Gb003162|Gb003162]]&quot;)" />
      <item logid="2592" ns="0" title="Buying CCTV" pageid="0" type="delete" action="delete" user="Gb003162" timestamp="2019-09-02T21:51:15Z" comment="content was: &quot;#redirect [[Purchasing CCTV]]&quot; (and the only contributor was &quot;[[Special:Contributions/Gb003162|Gb003162]]&quot;)" />
      <item logid="2591" ns="0" title="Number Place Recognition (ANPR)" pageid="0" type="delete" action="delete" user="Gb003162" timestamp="2019-09-02T21:50:11Z" comment="content was: &quot;#REDIRECT [[Vista Number Plate Recognition]]&quot;" />
      <item logid="2590" ns="8" title="MediaWiki:Sidebar" pageid="18" type="patrol" action="patrol" user="Gb003162" timestamp="2019-09-02T20:36:45Z" comment="">
        <patrol cur="2439" prev="2437" auto="1" />
      </item>
    </logevents>
  </query>
</api>