code: def set_historylog(self, historylog):
          
          historylog.add_history(self.shell.history_filename)
          self.shell.append_to_history.connect(historylog.append_to_history)
docs: Bind historylog instance to this console
          Not used anymore since v2.0