Class KLogger

java.lang.Object
org.kingdoms.main.KLogger

public final class KLogger extends Object
  • Constructor Details

    • KLogger

      public KLogger(DebugNS ns)
    • KLogger

      public KLogger(DebugNS ns, boolean printHeader, Object cooldownObject, Duration cooldown)
  • Method Details

    • info

      public static void info(Object str)
    • temp

      @Deprecated public static void temp(Object str)
      Deprecated.
    • calledFrom

      public static boolean calledFrom(Class<?> clazz)
    • cond

      public static void cond(String condition, String msg)
    • isCond

      public static boolean isCond(String condition)
    • cond

      public static void cond(String condition)
    • debug

      public static void debug(DebugNS ns, Supplier<Object> obj)
    • isDebugging

      public static boolean isDebugging()
    • debug

      public static void debug(DebugNS ns, Object str)
    • cond

      public static void cond(String cond, Object msg)
    • end

      public static void end(String cond)
    • warn

      public static void warn(Object str)
    • error

      public static void error(Object str)
    • property

      public KLogger property(Object name, boolean bool)
    • property

      public KLogger property(Object name, Object value)
    • end

      public void end()
    • log

      public void log(Object str)
    • log

      public void log(DebugNS ns, Object str)
    • log

      public void log(Supplier<Object> str)
    • log

      public void log(DebugNS ns, Supplier<Object> str)