code: def logger(level):
      return {
          "handlers": ["console", "task"],
          "level": level,
          "propagate": True,
      }
  
imports: from __future__ import annotations
  from copy import deepcopy
  from airflow.config_templates.airflow_local_settings import DEFAULT_LOGGING_CONFIG
label_desc: Use image node_id 1 for calling a global function with example usage: logger(level) and returns: dict