Module de.carne
Package de.carne.util

Class Debug


  • public final class Debug
    extends java.lang.Object
    Utility class providing debug related functions.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String formatUsedMemory()
      Formats the currently used memory in human readable format.
      static java.lang.String getCaller()
      Gets the calling method's name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.