gov.nasa.pds.search.core.logging.filter
Class ToolsLogFilter

java.lang.Object
  extended by gov.nasa.pds.search.core.logging.filter.ToolsLogFilter
All Implemented Interfaces:
Filter

public class ToolsLogFilter
extends Object
implements Filter

Class to filter logging messages that are coming from the underlying framework.

Author:
mcayanan

Constructor Summary
ToolsLogFilter()
           
 
Method Summary
 boolean isLoggable(LogRecord record)
          Method that checks if a log record is loggable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolsLogFilter

public ToolsLogFilter()
Method Detail

isLoggable

public boolean isLoggable(LogRecord record)
Method that checks if a log record is loggable.

Specified by:
isLoggable in interface Filter
Parameters:
record - The LogRecord.
Returns:
true if the record can be logged by the handler.


Copyright © 2010-2013 Planetary Data System. All Rights Reserved.