code: def print_boxed(text, print_fun=logger.info):
      box_width = len(text) + 2
      print_fun("")
      print_fun("╒{}╕".format("═" * box_width))
      print_fun(f"│ {text.upper()} │")
      print_fun("╘{}╛".format("═" * box_width))
      print_fun("")
  
file_path: ludwig/ludwig/utils/print_utils.py
imports: import logging
  from collections import OrderedDict
  from pprint import pformat
  from typing import Dict, Union
  from ludwig.api_annotations import DeveloperAPI
label_desc: Use image node_id 4 for calling a global function with example usage: print_boxed(text, print_fun) without return types