public class DebugTool extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static Vector<IConsole> |
consoleListenerList |
protected static boolean |
isRPCEnabled |
protected static boolean |
isTransportEnabled |
static String |
TAG |
| Constructor and Description |
|---|
DebugTool() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addConsole(IConsole console) |
static void |
clearConsoles() |
static void |
disableDebugTool() |
static void |
enableDebugTool() |
protected static String |
getLine(Throwable ex) |
static Hashtable<String,Object> |
getRPCHash(SdlPacket packet)
Debug method to try to extract the RPC hash from the packet payload.
|
static boolean |
isDebugEnabled() |
static void |
logError(String tag,
String msg) |
static void |
logError(String tag,
String msg,
Throwable ex) |
protected static void |
logErrorToConsole(String msg) |
protected static void |
logErrorToConsole(String msg,
Throwable e) |
static void |
logInfo(String tag,
String msg) |
static void |
logInfo(String tag,
String msg,
Boolean bPrependVersion) |
protected static void |
logInfoToConsole(String msg) |
static void |
logRPCReceive(String rpcMsg) |
protected static void |
logRPCReceiveToConsole(String msg) |
static void |
logRPCSend(String rpcMsg) |
protected static void |
logRPCSendToConsole(String msg) |
protected static Boolean |
logToSiphon(String msg) |
static void |
logTransport(String msg) |
static void |
logWarning(String tag,
String msg) |
static void |
removeConsole(IConsole console) |
public static final String TAG
protected static final boolean isTransportEnabled
protected static final boolean isRPCEnabled
public static void enableDebugTool()
public static void disableDebugTool()
public static boolean isDebugEnabled()
public static void addConsole(IConsole console)
public static void removeConsole(IConsole console)
public static void clearConsoles()
public static void logTransport(String msg)
public static void logRPCSend(String rpcMsg)
public static void logRPCReceive(String rpcMsg)
protected static void logInfoToConsole(String msg)
protected static void logErrorToConsole(String msg)
protected static void logRPCSendToConsole(String msg)
protected static void logRPCReceiveToConsole(String msg)
public static Hashtable<String,Object> getRPCHash(SdlPacket packet)
packet - to inspect