Constructor and Description |
---|
RegexFilter(Pattern pattern)
Create a new instance.
|
RegexFilter(String patternString)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isLoggable(LogRecord record)
Determine if this log record is loggable.
|
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 © 2016 JBoss by Red Hat. All rights reserved.