package com.pencilbox.netknight.utils;

/**
 * Created by pencil-box on 16/6/27.
 */
public class MyLog {
}

@@ -33,16 +33,42 @@
 utils;%0A%0A
+import android.util.Log;%0A%0A
 /**%0A * C
@@ -100,16 +100,25 @@
 6/6/27.%0A
+ * %E6%97%A5%E5%BF%97%E8%AE%B0%E5%BD%95%E7%B1%BB%0A
  */%0Apubl
@@ -134,10 +134,490 @@
 MyLog %7B%0A
+%0A    private static final boolean DEBUG=true;%0A%0A    //%E7%9B%B4%E6%8E%A5%E6%89%93%E5%8D%B0%E7%B1%BB%E5%90%8D%E4%BF%A1%E6%81%AF%0A    public static void logd(Object o ,String msg)%7B%0A%0A%0A        if(DEBUG)%7B%0A            String clazz = o.getClass().getName();%0A%0A            Log.d(clazz.substring(clazz.lastIndexOf('.')+1),msg);%0A%0A        %7D%0A%0A    %7D%0A%0A    public static void loge(Object o ,String msg)%7B%0A%0A        if(DEBUG)%7B%0A%0A            String clazz = o.getClass().getName();%0A%0A            Log.e(clazz.substring(clazz.lastIndexOf('.')+1),msg);%0A%0A%0A        %7D%0A    %7D%0A%0A
 %7D%0A

add MyLog.java