Log the output.
(self, format_dict)
| 235 | self.exec_result.result = result |
| 236 | |
| 237 | def log_output(self, format_dict): |
| 238 | """Log the output.""" |
| 239 | if 'text/plain' not in format_dict: |
| 240 | # nothing to do |
| 241 | return |
| 242 | if self.shell.logger.log_output: |
| 243 | self.shell.logger.log_write(format_dict['text/plain'], 'output') |
| 244 | self.shell.history_manager.output_hist_reprs[self.prompt_count] = \ |
| 245 | format_dict['text/plain'] |
| 246 | |
| 247 | def finish_displayhook(self): |
| 248 | """Finish up all displayhook activities.""" |