Saves the logging settings for this widget to XML format.
        
        :param      xml | <xml.etree.ElementTree.Element>

def restoreXml(self, xml):
        """
        Saves the logging settings for this widget to XML format.
        
        :param      xml | <xml.etree.ElementTree.Element>
        """
        self.uiFilterTXT.setText(xml.get('filter', ''))
        
        xlevels = xml.find('levels')
        xloggerlevels = xml.find('logger_levels')
        xtree = xml.find('tree')
        
        if xlevels is not None and xlevels.text:
            self.setActiveLevels(map(int, xlevels.text.split(',')))
        if xloggerlevels is not None and xloggerlevels.text:
            for key in xloggerlevels.text.split(','):
                logger, lvl = key.split(':')
                lvl = int(lvl)
                self.setLoggerLevel(logger, lvl)
        
        if xtree is not None:
            self.uiRecordTREE.restoreXml(xtree)