Package org.kingdoms.main
Class KLogger
java.lang.Object
org.kingdoms.main.KLogger
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancalledFrom(Class<?> clazz) static voidstatic voidstatic booleanvoidend()static voidbooleanexchangeKeys(Object previous, Object next) static StringgetDebugValue(String key) static booleanhasDebugValue(String key) booleanstatic voidstatic booleanbooleanbooleanisTraced()voidvoidvoidvoidvoidbooleanoriginatesFrom(StackTraceElement[] stackTrace) static booleanoriginatesFrom(StackTraceElement[] first, StackTraceElement[] stackTrace) voidstartKeyExchange(Object key) static voidDeprecated.static booleanvoidtraceThread(boolean waitToFinish, Runnable runnable) static void
-
Field Details
-
SILENT
-
RAW
-
DEFAULT
-
-
Constructor Details
-
KLogger
-
KLogger
-
KLogger
-
-
Method Details
-
toggleDebugMode
public static boolean toggleDebugMode() -
getDebugValues
-
isEnabled
public boolean isEnabled() -
hasDebugValue
-
getDebugValue
-
info
-
todo
Deprecated.Used for adding debug information that is only intended for testing purposes. Can be searched for method usage easily within the IDE before distributing a public JAR. -
calledFrom
-
originatesFrom
-
originatesFrom
-
startKeyExchange
-
exchangeKeys
-
hasKey
-
isTraced
@TestOnly public boolean isTraced() -
traceStack
-
getTrueStackTrace
-
traceThread
-
traced
-
debug
-
isDebugging
public static boolean isDebugging() -
debugTracing
public static boolean debugTracing() -
debug
-
warn
-
error
-
property
-
property
-
end
public void end() -
log
-
log
-
log
-
log
-
log
-