public void setLevel(final int level) {
    this.level = level;
  }
Sets the writer's level.

@throws IllegalArgumentException if level is not in legal range
geode-core/src/main/java/org/apache/geode/internal/logging/PureLogWriter.java