java.lang.Object
com.realtime.crossfire.jxclient.window.Logger

public class Logger extends Object
Logs received messages to a file.
  • Constructor Details

    • Logger

      public Logger(@NotNull @NotNull CrossfireServerConnection crossfireServerConnection, @Nullable @Nullable String hostname, boolean enabled)
      Create a new instance.
      Parameters:
      crossfireServerConnection - the server connection to monitor
      hostname - the hostname
      enabled - whether the message logger is enabled
  • Method Details

    • setHostname

      public void setHostname(@Nullable @Nullable String hostname)
      Updates the hostname.
      Parameters:
      hostname - the new hostname