package nammari.network.logger;

import android.util.Log;

/**
 * Created by nammari on 8/12/14.
 */
public class Logger {
    private static boolean ENABLED = false;

    public static void logDebug(String tag, String str) {
        if (ENABLED)
            Log.d(tag, str);
    }

    public static void logError(String tag, String str) {
        if (ENABLED)
            Log.e(tag, str);
    }

    public static void logInfo(String tag, String str) {
        if (ENABLED)
            Log.i(tag, str);
    }

}

@@ -505,10 +505,98 @@
 %0A    %7D%0A%0A
+%0A    public static void setEnabled(boolean enabled) %7B%0A        ENABLED = enabled;%0A    %7D%0A%0A
 %7D%0A

add enable logger method