Constructor and Description |
---|
RegexFilter(Pattern pattern)
Create a new instance.
|
RegexFilter(String patternString)
Create a new instance.
|
public RegexFilter(Pattern pattern)
pattern
- the pattern to matchpublic RegexFilter(String patternString)
patternString
- the pattern string to matchpublic boolean isLoggable(LogRecord record)
isLoggable
in interface Filter
record
- the log recordtrue
if the log record is loggableCopyright © 2018 JBoss by Red Hat. All rights reserved.