@@ -0,0 +1,881 @@
+import android.util.Log;%0A%0Apublic class ELog %7B%0A%09// when online set this value to false%0A%09public static boolean debugeMode = true;%0A%09// you can set this TAG%0A%09// notice that if you change it , all log will change to the tag you seted%0A%09public static String TAG = %22MYLOG%22;%0A%0A%09private ELog() %7B%0A%09%7D%0A%0A%09private static String getString(Object object) %7B%0A%09%09StackTraceElement ste = new Throwable().getStackTrace()%5B2%5D;%0A%09%09String valueString = ste.getFileName().split(%22%5C%5C.%22)%5B0%5D + %22  %22%0A%09%09%09%09+ ste.getMethodName() + %22:%22 + ste.getLineNumber() + %22%5Cn%22%0A%09%09%09%09+ object.toString();%0A%09%09return valueString;%0A%09%7D%0A%0A%09public static void e(Object object) %7B%0A%09%09if (debugeMode) %7B%0A%09%09%09Log.e(TAG, getString(object));%0A%09%09%7D%0A%09%7D%0A%0A%09public static void i(Object object) %7B%0A%09%09if (debugeMode) %7B%0A%09%09%09Log.i(TAG, getString(object));%0A%09%09%7D%0A%09%7D%0A%0A%09public static void d(Object object) %7B%0A%09%09if (debugeMode) %7B%0A%09%09%09Log.d(TAG, getString(object));%0A%09%09%7D%0A%09%7D%0A%7D%0A

Create ELog.java