#记录一下

Thread cur_thread = Thread.currentThread();
StackTraceElement stack[] = cur_thread.getStackTrace();
for(int i=0;i<stack.length;i++)
{
  Log.d("InjectLog", stack[i].toString() + "[" + cur_thread.getId() + "]"); 
}

//打印调用者
Log.d("InjectLog", stack[3].toString() + "[" + cur_thread.getId() + "]"); 
05-08 15:31