Class CancelLogger

java.lang.Object
com.sk89q.worldguard.bukkit.event.debug.CancelLogger

public class CancelLogger extends Object
Logs attempts at cancellation.
  • Constructor Details

    • CancelLogger

      public CancelLogger()
  • Method Details

    • log

      public void log(boolean before, boolean after, StackTraceElement[] stackTrace)
      Log a call.
      Parameters:
      before - The cancellation flag before the call
      after - The cancellation flag after the call
      stackTrace - The stack trace
    • getCancels

      public List<CancelAttempt> getCancels()
      Get an immutable list of cancels.
      Returns:
      An immutable list