docs: def set_level(level=1, logger="TaskLogger"):
      """Set the logging level
  
      Convenience function to set the logging level
  
      Parameters
      ----------
      level : `int` or `bool` (optional, default: 1)
          If False or 0, prints WARNING and higher messages.
          If True or 1, prints INFO and higher messages.
          If 2 or higher, prints all messages.
  
      Returns
      -------
      logger : TaskLogger
      """
      tasklogger = get_tasklogger(logger)
      tasklogger.set_level(level)
      return tasklogger