(self, logger=None)
:param target: the logger to use. If omitted, the "whoosh.analysis"
            logger is used.
:param target: the logger to use. If omitted, the "whoosh.analysis"
            logger is used.
: param target : the logger to use . If omitted the whoosh . analysis logger is used .
def __init__(self, logger=None):
        """
        :param target: the logger to use. If omitted, the "whoosh.analysis"
            logger is used.
        """

        if logger is None:
            import logging
            logger = logging.getLogger("whoosh.analysis")
        self.logger = logger
def __init__ ( self , logger = None ) : if logger is None : import logging logger = logging . getLogger ( "whoosh.analysis" ) self . logger = logger