Class DebugUtil

java.lang.Object
net.ME1312.SubData.Client.Library.DebugUtil

public class DebugUtil extends Object
Debugging Utility Class
  • Constructor Details

    • DebugUtil

      public DebugUtil()
  • Method Details

    • toHex

      public static String toHex(int example, int value)
      Convert to hex notation (ex. 0x0001)
      Parameters:
      example - Notation Example (0xFFFF for 16-bit whitespace in this example)
      value - Value to Convert (1 in this example)
      Returns:
      Converted Value (0x0001 is the result of this example)
    • logException

      public static void logException(Throwable e, Logger log)
      Log an exception to a primitive logger
      Parameters:
      e - Exception
      log - Primitive Logger