Class LogUtil

java.lang.Object
kr.toxicity.model.api.util.LogUtil

@Internal public final class LogUtil extends Object
Log util
  • Method Details

    • handleException

      public static void handleException(@NotNull @NotNull String message, @NotNull @NotNull Throwable throwable)
      Handles exception message
      Parameters:
      message - message
      throwable - exception
    • debug

      public static void debug(@NotNull DebugConfig.DebugOption option, @NotNull @NotNull Supplier<String> log)
      Logs debug if some option is matched.
      Parameters:
      option - option
      log - log
    • debug

      public static void debug(@NotNull DebugConfig.DebugOption option, @NotNull @NotNull Runnable runnable)
      Runs debug if some option is matched.
      Parameters:
      option - option
      runnable - debug task