title: How is the output.xml file generated in robot framework
body: <p>I am currently working on adding support for execution of Robot scripts from our home-grown Automation Framework. I understand that Robot, by default, generates the output.xml file upon the execution of the Robot scripts.</p>
  
  <p>So as to maintain uniformity, I am exploring the option of using the Robot Logging module for our custom automation scripts as well. On checking the source code, I see there is a Logger class under <code>robot.output</code> directory which logs messages on the console. However, I want to generate the same log and report files as it is done for the Robot scripts. For that, I need to know how the <code>output.xml</code> is generated and how it works.</p>
  
  <p>Can someone point me to the correct module/direction to move forward on this?</p>