Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.util.logging

Interface Filter

java.lang.Object
|
+--java.util.logging.Filter


public interface Filter

By implementing the Filter interface, applications can control what is being logged based on arbitrary properties, not just the severity level. Both Handler and Logger allow to register Filters whose isLoggable method will be called when a LogRecord has passed the test based on the severity level.

Author:

Method Summary

booleanisLoggable(java.util.logging.LogRecord record)

Determines whether a LogRecord should be published or discarded.

Method Details

isLoggable

public boolean isLoggable(java.util.logging.LogRecord record)

Determines whether a LogRecord should be published or discarded.

Parameters:

Returns: