Class Logger
- java.lang.Object
-
- com.realtime.crossfire.jxclient.window.Logger
-
public class Logger extends java.lang.ObjectLogs received messages to a file.
-
-
Constructor Summary
Constructors Constructor Description Logger(@NotNull CrossfireServerConnection crossfireServerConnection, @Nullable java.lang.String hostname, boolean enabled)Create a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetHostname(@Nullable java.lang.String hostname)Updates the hostname.
-
-
-
Constructor Detail
-
Logger
public Logger(@NotNull @NotNull CrossfireServerConnection crossfireServerConnection, @Nullable @Nullable java.lang.String hostname, boolean enabled)Create a new instance.- Parameters:
crossfireServerConnection- the server connection to monitorhostname- the hostnameenabled- whether the message logger is enabled
-
-