def setLogStr(self):
        """
        Initialize the C{logstr} attribute to be used by C{logPrefix}.
        """
        logPrefix = self._getLogPrefix(self.protocol)
        self.logstr = "%s (UDP)" % logPrefix

        Initialize the C{logstr} attribute to be used by C{logPrefix}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/internet/iocpreactor/udp.py