mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-08 05:24:39 +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 )
|
||||
{
|
||||
Bundle bundle = intent.getExtras();
|
||||
|
|
Loading…
Reference in a new issue