def __init__(self, debug=False, output_writer=None):
    """Initializes a Windows UserAssist information collector.

    Args:
      debug (Optional[bool]): True if debug information should be printed.
      output_writer (Optional[OutputWriter]): output writer.
    """
    super(UserAssistCollector, self).__init__(debug=debug)
    self._output_writer = output_writer
    self._parser = UserAssistDataParser(
        debug=debug, output_writer=output_writer)
    self.user_assist_entries = []