new debug util method

This commit is contained in:
Eric House 2018-12-11 08:28:07 -08:00
parent 4f8f14c83b
commit 48c06acef5

View file

@ -126,6 +126,12 @@ public class DbgUtils {
} }
} }
public static void printStack( String tag, Exception ex )
{
String stackTrace = android.util.Log.getStackTraceString(ex);
Log.d( tag, stackTrace );
}
static String extrasToString( Intent intent ) static String extrasToString( Intent intent )
{ {
Bundle bundle = intent.getExtras(); Bundle bundle = intent.getExtras();