public class Watcher
extends java.lang.Object
| Constructor and Description |
|---|
Watcher() |
| Modifier and Type | Method and Description |
|---|---|
protected static java.lang.StackTraceElement |
getCaller()
Get the caller by scanning the stack trace.
|
protected static java.lang.String |
getSignature()
Get the signature of caller conforming to eclipse error parser.
|
static void |
log()
log executing class name, method name and line number.
|
static void |
log(java.lang.String pMessage)
log a message with executing class name, method name and line number.
|
public static void log()
pMessage - public static void log(java.lang.String pMessage)
pMessage - protected static java.lang.String getSignature()
protected static java.lang.StackTraceElement getCaller()