code: def set_logger_level(logger, log_level, include_handlers=False):
      if log_level is None:
          logger.error("Failed to set log_level to None.")
      elif log_level not in (
          "DEBUG",
          "INFO",
          "WARNING",
          "ERROR",
          "CRITICAL",
          10,
          20,
          30,
          40,
          50,
      ):
          logger.error(
              f"Failed to set log_level to {log_level}."
              "Please specify a valid log level from: "
              "'DEBUG', 'INFO', 'WARNING', 'ERROR' or 'CRITICAL'"
          )
      else:
          logger.setLevel(log_level)
          if include_handlers:
              for h in log.handlers:
                  h.setLevel(log_level)
          logger.debug(f"Set log level to {log_level}")
  
imports: from __future__ import annotations
  import logging
  import math
  import os
  import sys
  from collections import OrderedDict
  from typing import TYPE_CHECKING, Iterable, Optional, Union
  import numpy
  import pandas
  import pytorch_lightning
  import torch
  from neuralprophet import utils_torch
  from neuralprophet.hdays_utils import get_country_holidays
  from neuralprophet.logger import ProgressBar
label_desc: Use image node_id 21 for calling a global function with example usage: set_logger_level(logger, log_level, include_handlers) without return types