Constructor | Description |
---|---|
RegexFilter(String patternString) |
Create a new instance.
|
RegexFilter(Pattern pattern) |
Create a new instance.
|
Modifier and Type | Method | 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 © 2019 JBoss by Red Hat. All rights reserved.