code: def _display_fn_mapping(
      level: Optional[Union[str, int]]
  ) -> Callable[[str], None]:
      level = _Printer._sanitize_level(level)
  
      if level >= CRITICAL:
          return wandb.termerror
      elif ERROR <= level < CRITICAL:
          return wandb.termerror
      elif WARNING <= level < ERROR:
          return wandb.termwarn
      elif INFO <= level < WARNING:
          return wandb.termlog
      elif DEBUG <= level < INFO:
          return wandb.termlog
      else:
          return wandb.termlog
  
imports: import itertools
  import platform
  import sys
  from abc import abstractmethod
  from typing import Callable, List, Optional, Tuple, Union
  import click
  import wandb
  from .None import ipython, sparkline
label_desc: Use image node_id 3 for calling the PrinterTerm obj's underlying member method code with example usage: obj._display_fn_mapping(level) and returns: wandb, wandb, wandb, wandb, wandb, wandb