Skip to content

Instantly share code, notes, and snippets.

@volpino
Created October 13, 2014 09:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save volpino/691de0bbd52b9cfe7b0d to your computer and use it in GitHub Desktop.
Save volpino/691de0bbd52b9cfe7b0d to your computer and use it in GitHub Desktop.
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