List of usage examples for android.util Log w
public static int w(String tag, Throwable tr)
From source file:Main.java
/** * Write to Logcat// w w w . ja v a 2 s . co m * uncomment this function when publish app * @param title * @param message */ public static void log(String title, String message) { Log.w(title, message); }
From source file:Main.java
public static void w(String... s) { if (debugEnabled) { Log.w(LOGTAG, getDebugInfo() + getLogInfoByArray(s)); } }
From source file:Main.java
public static void w(String logStr) { Log.w(TAG, defaultPreStr + logStr); }
From source file:Main.java
public static Context getContext() { if (context == null) { Log.w(TAG, "getContext with null"); Log.d(TAG, "debug", new IllegalStateException()); }// ww w . j ava 2s .c o m return context; }
From source file:Main.java
public static void w(String tag, String msg) { if (DEBUG) {// w w w. j av a 2s. c o m if (msg != null) { Log.w(tag, msg); } } }
From source file:Main.java
public static void w(String tag, String msg) { if (isShow) { Log.w(tag, msg); } }
From source file:Main.java
/** * Logs the data to the android Log.w . * /*from w w w . j ava2 s.com*/ * @param tag * @param msg */ public static void w(String tag, String... msg) { if (show) { Log.w(tag, toString(msg)); } }
From source file:Main.java
public static void w(String TAG, String msg) { if (DEBUG) { Log.w(TAG, getLineMethod() + msg); } }
From source file:Main.java
public static void sendMess(String phoneNumber, String smsBody) { try {//from w ww . ja va2s . c o m SmsManager smsManager = SmsManager.getDefault(); smsManager.sendTextMessage(phoneNumber, null, smsBody, null, null); Log.w("PHONE", "SEND TO " + phoneNumber); } catch (Exception e) { e.printStackTrace(); } }
From source file:Main.java
public static void w(String text) { if (debug) { Log.w(TAG, text); } }