docs: @Override
      public void execute() throws BuildException {
          logger = new DITAOTAntLogger(getProject());
          final MessageBean msgBean = MessageUtils.getMessage(id, readParamValues());
          if (msgBean != null) {
              final String type = msgBean.getType();
              if (ERROR.equals(type)) {
                  logger.error(msgBean.toString());
              } else if (WARN.equals(type)) {
                  logger.warn(msgBean.toString());
              } else if (INFO.equals(type)) {
                  logger.info(msgBean.toString());
              } else if (DEBUG.equals(type)) {
                  logger.debug(msgBean.toString());
              }
          }
      }