code: def exit(exit_code=0):
      
  
      for line in SESSION_FOOTER_TEXT:
          LOGGER.info(line)
  
      foundations.verbose.remove_logging_handler(RuntimeGlobals.logging_console_handler)
  
      RuntimeGlobals.application.exit(exit_code)
docs: Exits the Application.
  
      :param exit_code: Exit code.
      :type exit_code: int