Since: API Level 1
public interface

Filter

java.util.logging.Filter

Class Overview

A Filter provides a mechanism for exercising fine-grained control over which records get logged.

Summary

Public Methods
abstract boolean isLoggable(LogRecord record)
Checks record to determine if it should be logged.

Public Methods

public abstract boolean isLoggable (LogRecord record)

Since: API Level 1

Checks record to determine if it should be logged.

Parameters
record the LogRecord to be checked.
Returns
  • true if the supplied log record needs to be logged, false otherwise.