File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
log4j-core/src/main/java/org/apache/logging/log4j/core/filter Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 2929import org .apache .logging .log4j .util .PerformanceSensitive ;
3030
3131/**
32- * This filter returns the onMatch result if the level in the LogEvent is the same or more specific
33- * than the configured level and the onMismatch value otherwise. For example, if the ThresholdFilter
34- * is configured with Level ERROR and the LogEvent contains Level DEBUG then the onMismatch value will
35- * be returned since ERROR events are more specific than DEBUG.
32+ * This filter returns the onMatch result if the level in the {@link LogEvent} is the same or more specific
33+ * than the configured level and the {@code onMismatch} value otherwise. For example, if the ThresholdFilter
34+ * is configured with Level {@code ERROR} and the LogEvent contains Level {@code DEBUG} then the {@code onMismatch} value will
35+ * be returned since {@code ERROR} events are more specific than {@code DEBUG}.
36+ * <p>
37+ * The default Level is {@code ERROR}.
38+ * </p>
3639 *
37- * The default Level is ERROR.
40+ * @see Level#isMoreSpecificThan(Level)
3841 */
3942@ Configurable (elementType = Filter .ELEMENT_TYPE , printObject = true )
4043@ Plugin
You can’t perform that action at this time.
0 commit comments