Package net.minestom.server.utils.debug
Class DebugUtils
java.lang.Object
net.minestom.server.utils.debug.DebugUtils
public final class DebugUtils
extends java.lang.Object
Utils class useful for debugging purpose.
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Logger
LOGGER
-
Constructor Summary
Constructors Constructor Description DebugUtils()
-
Method Summary
Modifier and Type Method Description static void
printStackTrace()
Prints the current thread stack trace elements.static void
printStackTrace(int maxLine)
Prints the current thread stack trace elements.
-
Field Details
-
LOGGER
public static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
DebugUtils
public DebugUtils()
-
-
Method Details
-
printStackTrace
public static void printStackTrace(int maxLine)Prints the current thread stack trace elements.- Parameters:
maxLine
- the maximum number of stack trace element
-
printStackTrace
public static void printStackTrace()Prints the current thread stack trace elements.
-