Class Logger
java.lang.Object
com.realtime.crossfire.jxclient.window.Logger
Logs received messages to a file.
-
Constructor Summary
ConstructorsConstructorDescriptionLogger(@NotNull CrossfireServerConnection crossfireServerConnection, @Nullable String hostname, boolean enabled) Create a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetHostname(@Nullable String hostname) Updates the hostname.
-
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 monitorhostname- the hostnameenabled- whether the message logger is enabled
-
-
Method Details
-
setHostname
Updates the hostname.- Parameters:
hostname- the new hostname
-