org.postgresql.util
Class WriterHandler

java.lang.Object
  extended by java.util.logging.Handler
      extended by org.postgresql.util.WriterHandler

public class WriterHandler
extends Handler


Constructor Summary
WriterHandler(Writer inWriter)
           
WriterHandler(Writer inWriter, Formatter formatter)
           
 
Method Summary
 void close()
           
 void flush()
           
 boolean isLoggable(LogRecord record)
           
 void publish(LogRecord record)
           
 
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, 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

WriterHandler

public WriterHandler(Writer inWriter)

WriterHandler

public WriterHandler(Writer inWriter,
                     Formatter formatter)
Method Detail

publish

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

isLoggable

public boolean isLoggable(LogRecord record)
Overrides:
isLoggable in class Handler

flush

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

close

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


Copyright © 2017 PostgreSQL Global Development Group. All rights reserved.