- java.lang.Object
-
- de.carne.util.Debug
-
public final class Debug extends java.lang.ObjectUtility class providing debug related functions.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringformatUsedMemory()Formats the currently used memory in human readable format.static java.lang.StringgetCaller()Gets the calling method's name.
-
-
-
Method Detail
-
getCaller
public static java.lang.String getCaller()
Gets the calling method's name.- Returns:
- the calling method's name.
-
formatUsedMemory
public static java.lang.String formatUsedMemory()
Formats the currently used memory in human readable format.- Returns:
- the currently used memory in human readable format.
-
-