com.google.gwt.logging.client
Class SimpleRemoteLogHandler

java.lang.Object
  extended by java.util.logging.Handler
      extended by com.google.gwt.logging.client.SimpleRemoteLogHandler

public final class SimpleRemoteLogHandler
extends java.util.logging.Handler

A very simple handler which sends messages to the server via GWT RPC to be logged. Note that this logger should not be used in production. It does not do any intelligent batching of RPC's, nor does it disable when the RPC calls fail repeatedly.


Constructor Summary
SimpleRemoteLogHandler()
           
 
Method Summary
 void close()
           
 void flush()
           
 void publish(java.util.logging.LogRecord record)
           
 
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleRemoteLogHandler

public SimpleRemoteLogHandler()
Method Detail

close

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

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