(self, record)
return (record.name[self.nlen] == ".")
Determine if the specified record is to be logged.

        Returns True if the record should be logged, or False otherwise.
        If deemed appropriate, the record may be modified in-place.
Determine if the specified record is to be logged.
Determine if the specified record is to be logged .
def filter(self, record):
        """
        Determine if the specified record is to be logged.

        Returns True if the record should be logged, or False otherwise.
        If deemed appropriate, the record may be modified in-place.
        """
        if self.nlen == 0:
            return True
        elif self.name == record.name:
            return True
        elif record.name.find(self.name, 0, self.nlen) != 0:
            return False
        return (record.name[self.nlen] == ".")
def filter ( self , record ) : if self . nlen == 0 : return True elif self . name == record . name : return True elif record . name . find ( self . name , 0 , self . nlen ) != 0 : return False return ( record . name [ self . nlen ] == "." )