Class DebugUtil
java.lang.Object
net.ME1312.SubData.Server.Library.DebugUtil
Debugging Utility Class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidlogException(Throwable e, Logger log) Log an exception to a primitive loggerstatic StringtoHex(int example, int value) Convert to hex notation (ex.
-
Constructor Details
-
DebugUtil
public DebugUtil()
-
-
Method Details
-
toHex
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
Log an exception to a primitive logger- Parameters:
e- Exceptionlog- Primitive Logger
-