Class DebugUtil
java.lang.Object
net.ME1312.SubData.Client.Library.DebugUtil
Debugging Utility Class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
logException
(Throwable e, Logger log) Log an exception to a primitive loggerstatic String
toHex
(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
-