net.sf.colossus.server
Class RemoteLogHandler

java.lang.Object
  extended by java.util.logging.Handler
      extended by net.sf.colossus.server.RemoteLogHandler

public class RemoteLogHandler
extends java.util.logging.Handler

A java.util.logging Handler that appends to a Server via allLog.


Field Summary
private  Server server
           
 
Constructor Summary
RemoteLogHandler()
           
 
Method Summary
 void close()
           
 void flush()
           
 void publish(java.util.logging.LogRecord record)
           
 boolean requiresLayout()
           
 void setServer(Server server)
           
 
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
 

Field Detail

server

private Server server
Constructor Detail

RemoteLogHandler

public RemoteLogHandler()
Method Detail

setServer

public void setServer(Server server)

requiresLayout

public boolean requiresLayout()

close

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

publish

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

flush

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