code: def termsetup(settings, logger) -> None:
      global _silent, _show_info, _show_warnings, _show_errors, _logger
      _silent = settings.silent
      _show_info = settings.show_info
      _show_warnings = settings.show_warnings
      _show_errors = settings.show_errors
      _logger = logger
  
file_path: wandb/wandb/errors/term.py
imports: import logging
  import sys
  from typing import Any
  import click
label_desc: Use image node_id 1 for calling a global function with example usage: termsetup(settings, logger) without return types