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 DebuggergetInstance(@NotNull java.util.logging.Logger logger)@NotNull java.util.logging.LoggergetSafechatLogger()voidinfoChannel(@NotNull DebugChannel debugChannel, @NotNull java.lang.String message)booleanisEnabled()voidsetEnabled(boolean enabled)voidwarnChannel(@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)
-