Uses of Interface java.util.logging.Filter (Java Platform SE 8 )
Date: 2026-04-17

## Uses of Interface
java.util.logging.Filter

- Packages that use Filter
  Package | Description
  --- | ---
  java.util.logging | Provides the classes and interfaces of the JavaTM 2 platform's core logging facilities.

- - ### Uses of Filter in java.util.logging

    Methods in java.util.logging that return Filter
    Modifier and Type | Method and Description
    --- | ---
    `Filter` | Logger.`getFilter()` Get the current filter for this Logger.
    `Filter` | Handler.`getFilter()` Get the current `Filter` for this `Handler`.

    Methods in java.util.logging with parameters of type Filter
    Modifier and Type | Method and Description
    --- | ---
    `void` | Logger.`setFilter(Filter newFilter)` Set a filter to control output on this Logger.
    `void` | Handler.`setFilter(Filter newFilter)` Set a `Filter` to control output on this `Handler`.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.