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="20151027225532|6115" />
  </query-continue>
  <query>
    <logevents>
      <item logid="6125" ns="0" title="Main Page" pageid="1" type="patrol" action="patrol" user="WolfgangB" timestamp="2016-08-06T12:53:16Z" comment="">
        <patrol cur="14726" prev="14666" auto="1" />
      </item>
      <item logid="6124" ns="8" title="MediaWiki:Sitenotice" pageid="3651" type="patrol" action="patrol" user="WolfgangB" timestamp="2016-08-06T12:50:17Z" comment="">
        <patrol cur="14725" prev="0" auto="1" />
      </item>
      <item logid="6123" ns="0" title="Changelog 0.4.0 (WIP)" pageid="3649" type="patrol" action="patrol" user="Tobbi" timestamp="2015-12-17T21:26:36Z" comment="">
        <patrol cur="14724" prev="14717" auto="1" />
      </item>
      <item logid="6122" ns="2" title="User:Maths22" pageid="0" userid="5206" type="newusers" action="create2" user="Tobbi" timestamp="2015-12-10T17:28:55Z" comment="Created user account for math22" />
      <item logid="6121" ns="3" title="User talk:Karkus" pageid="0" type="delete" action="delete" user="Tobbi" timestamp="2015-11-13T00:06:53Z" comment="content was: &quot;#REDIRECT [[User talk:Disabled]]&quot; (and the only contributor was &quot;[[Special:Contributions/Tobbi|Tobbi]]&quot;)" />
      <item logid="6120" ns="0" title="Changelog 0.4.0 (WIP)" pageid="3649" type="patrol" action="patrol" user="Tobbi" timestamp="2015-11-11T18:54:05Z" comment="">
        <patrol cur="14715" prev="0" auto="1" />
      </item>
      <item logid="6119" ns="2" title="User:Karkus" pageid="0" userid="5205" type="newusers" action="create2" user="Tobbi" timestamp="2015-11-11T18:49:38Z" comment="Re-Created user account for Karkus" />
      <item logid="6118" ns="3" title="User talk:Karkus" pageid="0" type="move" action="move" user="Tobbi" timestamp="2015-11-11T18:48:11Z" comment="Automatically moved page while renaming the user &quot;[[User:Karkus|Karkus]]&quot; to &quot;[[User:Disabled|Disabled]]&quot;">
        <move new_ns="3" new_title="User talk:Disabled" />
      </item>
      <item logid="6117" ns="2" title="User:Karkus" pageid="0" olduser="Karkus" newuser="Disabled" edits="0" type="renameuser" action="renameuser" user="Tobbi" timestamp="2015-11-11T18:48:11Z" comment="" />
      <item logid="6116" ns="2" title="User:Karkus" pageid="0" userid="5204" type="newusers" action="byemail" user="Tobbi" timestamp="2015-11-11T18:40:30Z" comment="Created user account for Karkus" />
    </logevents>
  </query>
</api>