<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def record_result(self, res, prg=''):
 """ record the output of the command. Records the result, can have multiple results, so will need to work out a consistent way to aggregate this """

        self._log(self.logFileResult , force_to_string(res), prg)