code: def set_logging_level(level: int) -> None:
      """
      Set the logging level for both the logger and all its handlers.
  
      This function updates the logging level of the logger to the specified
      level and also iterates through all the handlers associated with the logger,
      updating their logging levels to match the specified level.
  
      Parameters:
      level (int): An integer representing the logging level. This should be one
                   of the logging level constants defined in the logging module, such as
                   logging.DEBUG, logging.INFO, logging.WARNING, logging.ERROR, or logging.CRITICAL.
  
      Returns:
      None
      """
      logger.setLevel(level)
      for handler in logger.handlers:
          handler.setLevel(level)
  
label_desc: Use image node_id 1 for calling a global function with example usage: set_logging_level(level) without return types