org.apache.wink.logging
Class InMemoryHandler

java.lang.Object
  extended by java.util.logging.Handler
      extended by org.apache.wink.logging.InMemoryHandler

public class InMemoryHandler
extends Handler


Constructor Summary
InMemoryHandler()
           
 
Method Summary
 void close()
           
 void flush()
           
 List<LogRecord> getRecords()
          Returns a live List of the records.
 void publish(LogRecord record)
           
 
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InMemoryHandler

public InMemoryHandler()
Method Detail

close

public void close()
           throws SecurityException
Specified by:
close in class Handler
Throws:
SecurityException

flush

public void flush()
Specified by:
flush in class Handler

publish

public void publish(LogRecord record)
Specified by:
publish in class Handler

getRecords

public List<LogRecord> getRecords()
Returns a live List of the records.



Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.