LogUtil

@ApiStatus.Internal
class LogUtil

Log util

Functions

Link copied to clipboard
open fun debug(@NotNull option: @NotNull DebugConfig.DebugOption, @NotNull runnable: @NotNull Runnable)
Runs debug if some option is matched.
open fun debug(@NotNull option: @NotNull DebugConfig.DebugOption, @NotNull log: @NotNull Supplier<String>)
Logs debug if some option is matched.
Link copied to clipboard
open fun handleException(@NotNull message: @NotNull String, @NotNull throwable: @NotNull Throwable)
Handles exception message
Link copied to clipboard
@NotNull
open fun toLog(@NotNull message: @NotNull String, @NotNull color: @NotNull TextColor): @NotNull Component
Gets log component