|
JBoss Log Manager 1.2.0.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.logmanager.filters.RegexFilter
public final class RegexFilter
A regular-expression-based filter. Used to exclude log records which match or don't match the expression. The regular expression is checked against the raw (unformatted) message.
Constructor Summary | |
---|---|
RegexFilter(Pattern pattern)
Create a new instance. |
|
RegexFilter(String patternString)
Create a new instance. |
Method Summary | |
---|---|
boolean |
isLoggable(LogRecord record)
Determine if this log record is loggable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegexFilter(Pattern pattern)
pattern
- the pattern to matchpublic RegexFilter(String patternString)
patternString
- the pattern string to matchMethod Detail |
---|
public boolean isLoggable(LogRecord record)
isLoggable
in interface Filter
record
- the log record
true
if the log record is loggable
|
JBoss Log Manager 1.2.0.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |