code: def exclude_filter(level: int):
      def filter_fn(record: "logging.LogRecord") -> bool:
          return record.levelno < level
  
      return filter_fn
  
imports: import logging
  import logging.config
  import logging.handlers
  import os
  import sys
  import colorama
  from dvc.progress import Tqdm
label_desc: Use image node_id 2 for calling a global function with example usage: exclude_filter(level) and returns: filter_fn, unknown