class_docstr: Prints the contents of every filter that passes through as a debug
  log entry.
class_docstr_tok: ["Prints","the","contents","of","every","filter","that","passes","through","as","a","debug","log","entry","."]
docstr: :param target: the logger to use. If omitted, the "whoosh.analysis"
      logger is used.
code: 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
  
imports: from itertools import chain
  from whoosh.compat import next
  from whoosh.analysis.acore import Composable
  from whoosh.util.text import rcompile
label_desc: Use image node_id 1 to create a new LoggingFilter object from inherited base classes: Filter with example: obj = LoggingFilter(logger)