org.lsst.ccs.utilities.logging
Class IsLoggableDelegate
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IsLoggableDelegate
public IsLoggableDelegate()
isLoggable
public boolean isLoggable(LogRecord logRecord)
Copyright © 2013 LSST. All Rights Reserved.