org.lsst.ccs.utilities.logging
Class IsLoggableDelegate

java.lang.Object
  extended by org.lsst.ccs.utilities.logging.IsLoggableDelegate

public class IsLoggableDelegate
extends Object

A utility to plug into Handlers that want to detect duplicate logs. it keeps a list of the 32 last logs and return false to the isLoggable method if a LogRecord with the same sequence number has been processed.

Author:
bamade

Constructor Summary
IsLoggableDelegate()
           
 
Method Summary
 boolean isLoggable(LogRecord logRecord)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsLoggableDelegate

public IsLoggableDelegate()
Method Detail

isLoggable

public boolean isLoggable(LogRecord logRecord)


Copyright © 2013 LSST. All Rights Reserved.