Class RemoteLogHandler

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

public class RemoteLogHandler extends 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...
  • Field Details

    • PUBLISH_TO_REMOTE_LOGGERS

      private static final boolean PUBLISH_TO_REMOTE_LOGGERS
      See Also:
    • server

      private Server server
  • Constructor Details

    • RemoteLogHandler

      public RemoteLogHandler(Server server)
  • Method Details

    • requiresLayout

      public boolean requiresLayout()
    • close

      public void close()
      Specified by:
      close in class Handler
    • publish

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

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