public class Logger
extends java.lang.Object
Constructor and Description |
---|
Logger(@NotNull CrossfireServerConnection crossfireServerConnection,
@Nullable java.lang.String hostname,
boolean enabled)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
setHostname(@Nullable java.lang.String hostname)
Updates the hostname.
|
public Logger(@NotNull @NotNull CrossfireServerConnection crossfireServerConnection, @Nullable @Nullable java.lang.String hostname, boolean enabled)
crossfireServerConnection
- the server connection to monitorhostname
- the hostnameenabled
- whether the message logger is enabled