def METHOD_NAME(self):
    # Dynamics process outputs: log messages below if desired.
    FswModel = self.masterSim.get_FswModel()
    DynModel = self.masterSim.get_DynModel()
    # FSW process outputs
    samplingTime = self.masterSim.get_FswModel().processTasksTimeStep
    self.attGuidRec = FswModel.attGuidMsg.recorder(samplingTime)
    self.rwMotorRec = FswModel.rwMotorTorque.rwMotorTorqueOutMsg.recorder(samplingTime)
    self.masterSim.AddModelToTask(DynModel.taskName, self.attGuidRec)
    self.masterSim.AddModelToTask(DynModel.taskName, self.rwMotorRec)
    self.rwLogs = []
    for item in range(4):
        self.rwLogs.append(DynModel.rwStateEffector.rwOutMsgs[item].recorder(samplingTime))
        self.masterSim.AddModelToTask(DynModel.taskName, self.rwLogs[item])
    return