net.sf.colossus.server
Class RemoteLogHandler
java.lang.Object
java.util.logging.Handler
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
.
Clemens: this is totally odd. Above it says it appends to a server, but
in practice it is used in a way that any thing logged on server is
transmitted to all remote clients, and even in wrong way; see below...
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 |
PUBLISH_TO_REMOTE_LOGGERS
private static final boolean PUBLISH_TO_REMOTE_LOGGERS
- See Also:
- Constant Field Values
server
private Server server
RemoteLogHandler
public RemoteLogHandler(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