to top
Android APIs
Added in 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)

Added in 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.
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.