code: def _get_func_arguments_to_log(self, func, *args, **kwargs):
      args_to_log = dict()
      flags = dict({})
  
      sig = signature(func)
      bound = sig.bind(*args, **kwargs)
      bound.apply_defaults()
      arguments = bound.arguments
      args_with_default_values = []
  
      for tupple in sig.parameters.items():
          param_name = tupple[0]
          param_value = tupple[1]
          if param_value.default is not inspect._empty:
              args_with_default_values.append(param_name)
  
      # extract only args with default values
      for key, value in arguments.items():
          if key in args_with_default_values:
              args_to_log[key] = value
  
          elif key == "kwargs":
              flags = self._extract_flags(self, **value)
  
      return args_to_log, flags
  
file_path: sklearn-evaluation/src/sklearn_evaluation/telemetry.py
imports: from functools import wraps
  import inspect
  from inspect import signature
  from ploomber_core.telemetry.telemetry import Telemetry
label_desc: Use image node_id 3 for calling the SKLearnEvaluationLogger obj's underlying member method code with example usage: obj._get_func_arguments_to_log(func) and returns: args_to_log,  flags