Repository: logging-log4j2 Updated Branches: refs/heads/master 0d201adc0 -> c513f1333
Javadoc. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/c513f133 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/c513f133 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/c513f133 Branch: refs/heads/master Commit: c513f13335895d89b455358e3eba8237626efe35 Parents: 0d201ad Author: Gary Gregory <ggreg...@apache.org> Authored: Tue Sep 6 22:29:52 2016 -0400 Committer: Gary Gregory <ggreg...@apache.org> Committed: Tue Sep 6 22:29:52 2016 -0400 ---------------------------------------------------------------------- .../logging/log4j/core/filter/LevelRangeFilter.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/c513f133/log4j-core/src/main/java/org/apache/logging/log4j/core/filter/LevelRangeFilter.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/filter/LevelRangeFilter.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/filter/LevelRangeFilter.java index ff4ff26..fd78433 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/filter/LevelRangeFilter.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/filter/LevelRangeFilter.java @@ -28,13 +28,13 @@ import org.apache.logging.log4j.core.config.plugins.PluginFactory; import org.apache.logging.log4j.message.Message; /** - * This filter returns the onMatch result if the level in the LogEvent is in the - * range of the configured min and max levels, otherwise it returns onMismatch - * value . For example, if the filter is configured with Level ERROR and Level - * INFO and the LogEvent contains Level WARN then the onMatch value will be - * returned since WARN events are in between ERROR and INFO. + * This filter returns the {@code onMatch} result if the level in the {@code LogEvent} is in the range of the configured + * min and max levels, otherwise it returns {@code onMismatch} value . For example, if the filter is configured with + * {@link Level#ERROR} and {@link Level#INFO} and the LogEvent contains {@link Level#WARN} then the onMatch value will + * be returned since {@link Level#WARN WARN} events are in between {@link Level#ERROR ERROR} and {@link Level#INFO + * INFO}. * <p> - * The default Levels are both ERROR. + * The default Levels are both {@link Level#ERROR ERROR}. * </p> */ @Plugin(name = "LevelRangeFilter", category = Node.CATEGORY, elementType = Filter.ELEMENT_TYPE, printObject = true)