mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
log one line before honoring logging-on preference.
This commit is contained in:
parent
b8528145b3
commit
5b9b531cb9
1 changed files with 7 additions and 3 deletions
|
@ -27,11 +27,15 @@ public class XWApp extends Application {
|
||||||
@Override
|
@Override
|
||||||
public void onCreate()
|
public void onCreate()
|
||||||
{
|
{
|
||||||
DbgUtils.logEnable( this );
|
super.onCreate();
|
||||||
|
|
||||||
|
// This one line should always get logged even if logging is
|
||||||
|
// off -- because logging is on by default until logEnable is
|
||||||
|
// called.
|
||||||
DbgUtils.logf( "XWApp.onCreate(); git_rev=%s",
|
DbgUtils.logf( "XWApp.onCreate(); git_rev=%s",
|
||||||
getString(R.string.git_rev) );
|
getString( R.string.git_rev ) );
|
||||||
|
DbgUtils.logEnable( this );
|
||||||
|
|
||||||
RelayReceiver.RestartTimer( this );
|
RelayReceiver.RestartTimer( this );
|
||||||
super.onCreate();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue