def store_traces(self, value):
        """
        Setter for _store_traces. _store_traces controls in memory storing of received lines.
        Also logs the change for the user.

        :param value: Boolean
        :return: Nothing
        """
        if not value:
            self.logger.debug("Stopping storing received lines for dut %d", self.index)
            self._store_traces = False
        else:
            self.logger.debug("Resuming storing received lines for dut %d", self.index)
            self._store_traces = True
def store_traces ( self , value ) : if not value : self . logger . debug ( "Stopping storing received lines for dut %d" , self . index ) self . _store_traces = False else : self . logger . debug ( "Resuming storing received lines for dut %d" , self . index ) self . _store_traces = True
Setter for _store_traces. _store_traces controls in memory storing of received lines.
        Also logs the change for the user.

        :param value: Boolean
        :return: Nothing