Package xyz.dynxsty.dih4jda
Class DIH4JDALogger
java.lang.Object
xyz.dynxsty.dih4jda.DIH4JDALogger
This handler's own Logging System.
To disable certain
To disable certain
DIH4JDALogger.Types, simple use DIH4JDABuilder.disableLogging(Type...).-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voiddebug(DIH4JDALogger.Type type, String msg, Object... args) static voidstatic voiderror(DIH4JDALogger.Type type, String msg, Object... args) static voidstatic voidinfo(DIH4JDALogger.Type type, String msg, Object... args) static voidstatic voidtrace(DIH4JDALogger.Type type, String msg, Object... args) static voidstatic voidwarn(DIH4JDALogger.Type type, String msg, Object... args)
-
Constructor Details
-
DIH4JDALogger
public DIH4JDALogger()Creates a new, default instance of theDIH4JDALogger.
-
-
Method Details
-
info
public static void info(@Nonnull DIH4JDALogger.Type type, @Nonnull String msg, @Nonnull Object... args) -
info
-
warn
public static void warn(@Nonnull DIH4JDALogger.Type type, @Nonnull String msg, @Nonnull Object... args) -
warn
-
error
public static void error(@Nonnull DIH4JDALogger.Type type, @Nonnull String msg, @Nonnull Object... args) -
error
-
debug
public static void debug(@Nonnull DIH4JDALogger.Type type, @Nonnull String msg, @Nonnull Object... args) -
debug
-
trace
public static void trace(@Nonnull DIH4JDALogger.Type type, @Nonnull String msg, @Nonnull Object... args) -
trace
-