def to_dict(self, json_safe=False):
        self.pull_information()
        rv = {}
        for key, value in iteritems(self.__dict__):
            if key[:1] != '_' and key not in self._noned_on_close:
                rv[key] = value
        # the extra dict is exported as regular dict
        rv['extra'] = dict(rv['extra'])
        if json_safe:
            return to_safe_json(rv)
        return rv
Exports the log record into a dictionary without the information
dataset/ETHPy150Open getlogbook/logbook/logbook/base.py/LogRecord.to_dict