docs: private void setTypeString(final String type) {
          if (type == null) {
              this.type = null;
          } else if (type.equalsIgnoreCase("WARN")) {
              this.type = Type.WARN;
          } else if (type.equalsIgnoreCase("ERROR")) {
              this.type = Type.ERROR;
          } else if (type.equalsIgnoreCase("DEBUG")) {
              this.type = Type.DEBUG;
          } else if (type.equalsIgnoreCase("INFO")) {
              this.type = Type.INFO;
          }
      }