Back to project page ScanGoods.
The source code is released under:
Apache License
If you think the Android project ScanGoods listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.munix.gridviewheader; /*www . ja v a2 s .c o m*/ import android.util.Log; public class Utilities { public static void log(String message) { String fullClassName = Thread.currentThread().getStackTrace()[3].getClassName(); String className = fullClassName.substring(fullClassName.lastIndexOf(".") + 1); String methodName = Thread.currentThread().getStackTrace()[3].getMethodName(); int lineNumber = Thread.currentThread().getStackTrace()[3].getLineNumber(); Log.v("minube " + className + "." + methodName + "():" + lineNumber, message); } }