IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
 
[Sommaire]  [Top 50]  [F.A.Q.]  [ Java SE ]  [ Java EE ]  [Javadoc standard]  [Contact]
[ 1.4.2 ]  [ 5.0 ]  [ 6.0
Rechercher   
Dans
Options   sensible à la casse
étendre la recherche aux descriptions
Préférences
fr en 
 
Moteurs de recherche
JavaTM 2 Platform Std. Ed. v1.5.0

java.util.logging
Interface Filter


public interface Filter

A Filter can be used to provide fine grain control over what is logged, beyond the control provided by log levels.

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.

Since:
1.4

Method Summary
 boolean isLoggable(LogRecord record)
          Check if a given log record should be published.
 

Method Detail

isLoggable

boolean isLoggable(LogRecord record)
Check if a given log record should be published.

Parameters:
record - a LogRecord
Returns:
true if the log record should be published.

Copyright 2003 Sun Microsystems, Inc. All rights reserved