File tree 1 file changed +8
-5
lines changed
log4j-core/src/main/java/org/apache/logging/log4j/core/filter
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 29
29
import org .apache .logging .log4j .util .PerformanceSensitive ;
30
30
31
31
/**
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>
36
39
*
37
- * The default Level is ERROR.
40
+ * @see Level#isMoreSpecificThan(Level)
38
41
*/
39
42
@ Configurable (elementType = Filter .ELEMENT_TYPE , printObject = true )
40
43
@ Plugin
You can’t perform that action at this time.
0 commit comments