code: def log(*args, in_order=False, dst=0, **kwargs):
      """
      Logs with formatting options that account for multiprocessing. This
      function logs with the output of:
  
          logging.log(*args, **kwargs)
  
      Args:
          in_order: A boolean that determines whether to log from one-party only
              or all parties, in order. If True, this function will output from
              party 0 first, then log in order through party N. If False, this
              function will only output from a single party, given by `dst`.
          dst: The destination party rank(s) to output from if `in_order` is False.
              This can be an integer or list of integers denoting a single rank or
              multiple ranks to log from.
      """
      __multiprocess_print_helper(
          logging.info, *args, in_order=in_order, dst=dst, **kwargs
      )
  
imports: import builtins
  import copy
  import logging
  import os
  import warnings
  import crypten.common
  import crypten.communicator
  import crypten.config
  import crypten.mpc
  import crypten.nn
  import crypten.optim
  import torch
  from .None import debug
  from .config import cfg
  from .cryptensor import CrypTensor
label_desc: Use image node_id 28 for calling a global function with example usage: log() without return types