log one line before honoring logging-on preference.

This commit is contained in:
Eric House 2012-01-04 18:34:15 -08:00
parent b8528145b3
commit 5b9b531cb9

View file

@ -27,11 +27,15 @@ public class XWApp extends Application {
@Override
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",
getString(R.string.git_rev) );
getString( R.string.git_rev ) );
DbgUtils.logEnable( this );
RelayReceiver.RestartTimer( this );
super.onCreate();
}
}