Public Member Functions | |
boolean | isLoggable (LogRecord record) |
void | setLogLevel (Level level) |
Protected Attributes | |
int | logLevel = Level.ALL.intValue() |
|
Discards less useful or misleading Jacorb logs based on the message. TODO-: to improve performance, we could instead match file and line, but then would have to update that information with the next jacorb code change. The implementation already minimizes string comparison by checking only those messages that can occur at the given log level. |
|
Sets the log level that allows this filter to discard log records. This is necessary because our extended filter functionality may downgrade log levels. Log records that passed the level check before may then become invalid. The JDK does not foresee this, that's why we must discard them here based on the level. |
|
|