Set the info message callback.

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