Created
October 13, 2014 09:07
-
-
Save volpino/691de0bbd52b9cfe7b0d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.asis.ctf2014.numdriod.tools; | |
import android.util.*; | |
public class DebugTools | |
{ | |
public static boolean DBG; | |
public static String DBG_TAG; | |
static { | |
DebugTools.DBG_TAG = "Numdroid"; | |
DebugTools.DBG = false; | |
} | |
public static void log(final String s) { | |
if (!DebugTools.DBG) { | |
return; | |
} | |
Log.d(DebugTools.DBG_TAG, s); | |
} | |
} | |
clone this paste |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment