mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-24 07:58:34 +01:00
new debug util method
This commit is contained in:
parent
4f8f14c83b
commit
48c06acef5
1 changed files with 6 additions and 0 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Reference in a new issue