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 java.util.logging.Handler


Constructor Summary
InMemoryHandler()
           
 
Method Summary
 void close()
           
 void flush()
           
 java.util.List<java.util.logging.LogRecord> getRecords()
          Returns a live List of the records.
 void publish(java.util.logging.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 java.lang.SecurityException
Specified by:
close in class java.util.logging.Handler
Throws:
java.lang.SecurityException

flush

public void flush()
Specified by:
flush in class java.util.logging.Handler

publish

public void publish(java.util.logging.LogRecord record)
Specified by:
publish in class java.util.logging.Handler

getRecords

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



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