def METHOD_NAME(self, doc):
    from IPython import get_ipython
    commands = list(get_ipython().history_manager.get_range())
    document_content = ('%s: %s\n\n'
                        'RunStart Document\n'
                        '-----------------\n'
                        '%s' % (doc['scan_id'],
                                commands[-1][2],
                                pformat(doc)))
    olog_status = self.client.log(document_content, logbooks=self.logbook)
    logger.debug('client.log returned %s' % olog_status)
    super().METHOD_NAME(doc)