def save_to_file(self, filename):
        with open(filename, 'w') as fh:
            for record in self._records:
                fh.write(unicode(record))
Save the records into a file.
dataset/ETHPy150Open enthought/traits/traits/util/event_tracer.py/RecordContainer.save_to_file