logging-log4j2
logging-log4j2 copied to clipboard
Updated RegexFilter implementtation with changes from 2.x branch merge to main [3.x] (#3086)
Fixes #3086
- add
RegexFilter(Builder)private constructor - add RegexFilter#getPattern()
- add RegexFilter#getRegex()
- add RegexFilter#isUseRawMessage()
- add RegexFiltter changes from #2773 from 2.x branch that were only partially merged to main
- add JVerify nullability annotations
- add protected
AbstractFilter(Builder)constructor - removed deprecated API
- updated all RegexFilter javadoc
- updated RegexFilterTest
- updated AbstractFilterableTest - fixed JUnit5 warnings
- updated AbstractFilterTestt
NOTE: cherry-picking changes directly from 2.x branch not possible due to missing APIs, changed 3.x Plugin design/imports, etc.