code: def log_msg(prefix, msg):
      logging.debug(
          "%s: len: %s, hash: %s, msg: 0x%s",
          prefix,
          len(msg),
          hashlib.md5(msg).hexdigest()[:6],
          binascii.hexlify(msg[:25]),
      )
  
imports: import binascii
  import collections
  import hashlib
  import json
  import os
  import shutil
  import socket
  import struct
  import subprocess
  import threading
  import time
  from absl import logging
  from pysc2 import run_configs
  from pysc2.env import sc2_env
  from pysc2.lib import features
  from pysc2.lib import run_parallel
  from s2clientprotocol import sc2api_pb2
label_desc: Use image node_id 5 for calling a global function with example usage: log_msg(prefix, msg) without return types