Each Logger and each Handler can have a filter associated with it. The Logger or Handler will call the isLoggable method to check if a given LogRecord should be published. If isLoggable returns false, the LogRecord will be discarded.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the log record should be published.a LogRecord record)Check if a given log record should be published. |
| isLoggable | back to summary |
|---|---|
| public boolean isLoggable(LogRecord record) Check if a given log record should be published.
| |