code: def _logger(self, msg):
      if debug.sidecar:
          print(
              "[sidecar:%s] %s" % (self._worker_type, msg),
              file=sys.stderr,
          )
  
imports: from __future__ import print_function
  import subprocess
  import fcntl
  import select
  import os
  import sys
  import platform
  from fcntl import F_SETFL
  from os import O_NONBLOCK
  from .sidecar_messages import Message, MessageTypes
  from ..debug import debug
  from metaflow.tracing import inject_tracing_vars
label_desc: Use image node_id 9 for calling the SidecarSubProcess obj's underlying member method code with example usage: obj._logger(msg) without return types