com.caucho.log
Class SubHandler

java.lang.Object
  extended by java.util.logging.Handler
      extended by com.caucho.log.SubHandler

public class SubHandler
extends java.util.logging.Handler

Proxy for an underlying handler, e.g. to handle different logging levels.


Method Summary
 void close()
          Closes the handler.
 boolean equals(java.lang.Object o)
          Test for equality.
 void flush()
          Flushes the buffer.
 int hashCode()
          Returns the hash code.
 void publish(java.util.logging.LogRecord record)
          Publishes the record.
 java.lang.String toString()
           
 
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, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

publish

public void publish(java.util.logging.LogRecord record)
Publishes the record.

Specified by:
publish in class java.util.logging.Handler

flush

public void flush()
Flushes the buffer.

Specified by:
flush in class java.util.logging.Handler

close

public void close()
Closes the handler.

Specified by:
close in class java.util.logging.Handler

hashCode

public int hashCode()
Returns the hash code.

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Test for equality.

Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object