code: def log_metrics(self, metrics, source=None):
      with set_active_mlflow_run(self.active_run):
          mlflow.log_metrics(metrics)
  
imports: import secrets
  from contextlib import contextmanager
  from pycaret.loggers.base_logger import BaseLogger
  from pycaret.utils.generic import mlflow_remove_bad_chars
label_desc: Use image node_id 8 for calling the MlflowLogger obj's underlying member method code with example usage: obj.log_metrics(metrics, source) without return types