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 lestart="2022-02-07T14:58:50Z" />
  </query-continue>
  <query>
    <logevents>
      <item logid="13691" ns="2" title="Użytkownik:Mirzak" pageid="4428" type="patrol" action="patrol" user="Aerandir Tacticus" timestamp="2022-02-16T13:33:11Z" comment="">
        <patrol cur="42527" prev="42525" auto="1" />
      </item>
      <item logid="13690" ns="2" title="Użytkownik:Hagmar" pageid="2912" type="patrol" action="patrol" user="Aerandir Tacticus" timestamp="2022-02-14T11:21:30Z" comment="">
        <patrol cur="42526" prev="42513" auto="1" />
      </item>
      <item logid="13689" ns="2" title="Użytkownik:Mirzak" pageid="4428" type="patrol" action="patrol" user="Aerandir Tacticus" timestamp="2022-02-09T09:46:13Z" comment="">
        <patrol cur="42525" prev="42524" auto="1" />
      </item>
      <item logid="13688" ns="2" title="Użytkownik:Mirzak" pageid="4428" type="patrol" action="patrol" user="Aerandir Tacticus" timestamp="2022-02-09T09:45:38Z" comment="">
        <patrol cur="42524" prev="42523" auto="1" />
      </item>
      <item logid="13687" ns="2" title="Użytkownik:Mirzak" pageid="4428" type="patrol" action="patrol" user="Aerandir Tacticus" timestamp="2022-02-08T14:12:13Z" comment="">
        <patrol cur="42523" prev="42375" auto="1" />
      </item>
      <item logid="13686" ns="2" title="Użytkownik:Kazmir aep Groth" pageid="3371" type="patrol" action="patrol" user="Aerandir Tacticus" timestamp="2022-02-08T14:11:27Z" comment="">
        <patrol cur="42522" prev="42090" auto="1" />
      </item>
      <item logid="13685" ns="2" title="Użytkownik:Marduke" pageid="3832" type="patrol" action="patrol" user="Marduke" timestamp="2022-02-08T11:27:57Z" comment="">
        <patrol cur="42520" prev="42501" auto="1" />
      </item>
      <item logid="13684" ns="2" title="Użytkownik:Warcisław" pageid="1063" type="patrol" action="patrol" user="Aerandir Tacticus" timestamp="2022-02-08T10:42:52Z" comment="">
        <patrol cur="42519" prev="42507" auto="1" />
      </item>
      <item logid="13683" ns="0" title="Bank Ekkerund" pageid="2726" type="patrol" action="patrol" user="Aerandir Tacticus" timestamp="2022-02-07T20:46:10Z" comment="">
        <patrol cur="42517" prev="38852" auto="1" />
      </item>
      <item logid="13682" ns="2" title="Użytkownik:Hagmar" pageid="2912" type="patrol" action="patrol" user="Aerandir Tacticus" timestamp="2022-02-07T19:28:03Z" comment="">
        <patrol cur="42513" prev="42511" auto="1" />
      </item>
    </logevents>
  </query>
</api>