Class Debugger
java.lang.Object
studio.thevipershow.safechat.debug.Debugger
public final class Debugger
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description static Debugger
getInstance(@NotNull java.util.logging.Logger logger)
@NotNull java.util.logging.Logger
getSafechatLogger()
void
infoChannel(@NotNull DebugChannel debugChannel, @NotNull java.lang.String message)
boolean
isEnabled()
void
setEnabled(boolean enabled)
void
warnChannel(@NotNull DebugChannel debugChannel, @NotNull java.lang.String message)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
getInstance
-
infoChannel
public void infoChannel(@NotNull @NotNull DebugChannel debugChannel, @NotNull @NotNull java.lang.String message) -
warnChannel
public void warnChannel(@NotNull @NotNull DebugChannel debugChannel, @NotNull @NotNull java.lang.String message) -
getSafechatLogger
@NotNull public @NotNull java.util.logging.Logger getSafechatLogger() -
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled)
-