Constructor and Description |
---|
LevelChangingFilter(Level newLevel)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isLoggable(LogRecord record)
Apply the filter to this log record.
|
public LevelChangingFilter(Level newLevel)
newLevel
- the level to change topublic boolean isLoggable(LogRecord record)
isLoggable
in interface Filter
record
- the record to inspect and possibly updatetrue
alwaysCopyright © 2020 JBoss, a division of Red Hat, Inc.. All Rights Reserved.