code: def info_msg_callback(self, callback):
          
          if callable(callback):
              self._info_msg_callback = callback
          else:
              self._info_msg_callback = None
docs: Set the info message callback.