code: def log_metrics(self, metrics):
      logger.info(metrics)
      for k, v in metrics.items():
          if v is not None:
              summary.add_scalar(k, v, self.sample_total_steps)
  
imports: from parl.utils import check_version_for_fluid
  import gym
  import os
  import parl
  import numpy
  import threading
  import utils
  from es import ES
  from obs_filter import MeanStdFilter
  from mujoco_agent import MujocoAgent
  from mujoco_model import MujocoModel
  from noise import SharedNoiseTable
  from parl.utils import logger, summary
  from parl.utils.window_stat import WindowStat
  from six.moves import queue
  from actor import Actor
label_desc: Use image node_id 6 for calling the Learner obj's underlying member method code with example usage: obj.log_metrics(metrics) without return types