Here you can find the source of debug(String msg)
public static int debug(String msg)
//package com.java2s; import android.util.Log; public class Main { public static final String DEBUG_TAG = "C2DM"; public static final boolean DEBUG_DEVELOPER_MODE = false; public static int debug(String msg) { return debug(DEBUG_TAG, msg); }/*from w ww. j a v a2 s. co m*/ public static int debug(String tag, String msg) { if (DEBUG_DEVELOPER_MODE) { return Log.d(tag, msg); } else { return 0; } } }