mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
add printStack()
This commit is contained in:
parent
a0bf3405b8
commit
0348867326
1 changed files with 10 additions and 0 deletions
|
@ -83,6 +83,16 @@ public class Utils {
|
||||||
}
|
}
|
||||||
} // logf
|
} // logf
|
||||||
|
|
||||||
|
public static void printStack()
|
||||||
|
{
|
||||||
|
if ( s_doLog ) {
|
||||||
|
StackTraceElement[] trace = Thread.currentThread().getStackTrace();
|
||||||
|
for ( int ii = 0; ii < trace.length; ++ii ) {
|
||||||
|
Utils.logf( "ste %d: %s", ii, trace[ii].toString() );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public static void notImpl( Context context )
|
public static void notImpl( Context context )
|
||||||
{
|
{
|
||||||
CharSequence text = "Feature coming soon";
|
CharSequence text = "Feature coming soon";
|
||||||
|
|
Loading…
Reference in a new issue