log 'this' (no impact unless LOG_LIFECYLE is true)

This commit is contained in:
Eric House 2015-05-31 19:44:14 -07:00
parent fcb2791f39
commit 9922a8fdd1
2 changed files with 12 additions and 12 deletions

View file

@ -35,7 +35,7 @@ public class XWActivity extends Activity implements Delegator {
protected void onCreate( Bundle savedInstanceState, DelegateBase dlgt ) protected void onCreate( Bundle savedInstanceState, DelegateBase dlgt )
{ {
if ( XWApp.LOG_LIFECYLE ) { if ( XWApp.LOG_LIFECYLE ) {
DbgUtils.logf( "%s.onCreate()", getClass().getName() ); DbgUtils.logf( "%s.onCreate(this=%H)", getClass().getName(), this );
} }
super.onCreate( savedInstanceState ); super.onCreate( savedInstanceState );
m_dlgt = dlgt; m_dlgt = dlgt;
@ -59,7 +59,7 @@ public class XWActivity extends Activity implements Delegator {
protected void onPause() protected void onPause()
{ {
if ( XWApp.LOG_LIFECYLE ) { if ( XWApp.LOG_LIFECYLE ) {
DbgUtils.logf( "%s.onPause()", getClass().getName() ); DbgUtils.logf( "%s.onPause(this=%H)", getClass().getName(), this );
} }
m_dlgt.onPause(); m_dlgt.onPause();
super.onPause(); super.onPause();
@ -69,7 +69,7 @@ public class XWActivity extends Activity implements Delegator {
protected void onResume() protected void onResume()
{ {
if ( XWApp.LOG_LIFECYLE ) { if ( XWApp.LOG_LIFECYLE ) {
DbgUtils.logf( "%s.onResume()", getClass().getName() ); DbgUtils.logf( "%s.onResume(this=%H)", getClass().getName(), this );
} }
super.onResume(); super.onResume();
m_dlgt.onResume(); m_dlgt.onResume();
@ -79,7 +79,7 @@ public class XWActivity extends Activity implements Delegator {
protected void onStart() protected void onStart()
{ {
if ( XWApp.LOG_LIFECYLE ) { if ( XWApp.LOG_LIFECYLE ) {
DbgUtils.logf( "%s.onStart()", getClass().getName() ); DbgUtils.logf( "%s.onStart(this=%H)", getClass().getName(), this );
} }
super.onStart(); super.onStart();
m_dlgt.onStart(); m_dlgt.onStart();
@ -89,7 +89,7 @@ public class XWActivity extends Activity implements Delegator {
protected void onStop() protected void onStop()
{ {
if ( XWApp.LOG_LIFECYLE ) { if ( XWApp.LOG_LIFECYLE ) {
DbgUtils.logf( "%s.onStop()", getClass().getName() ); DbgUtils.logf( "%s.onStop(this=%H)", getClass().getName(), this );
} }
m_dlgt.onStop(); m_dlgt.onStop();
super.onStop(); super.onStop();
@ -99,7 +99,7 @@ public class XWActivity extends Activity implements Delegator {
protected void onDestroy() protected void onDestroy()
{ {
if ( XWApp.LOG_LIFECYLE ) { if ( XWApp.LOG_LIFECYLE ) {
DbgUtils.logf( "%s.onDestroy()", getClass().getName() ); DbgUtils.logf( "%s.onDestroy(this=%H)", getClass().getName(), this );
} }
m_dlgt.onDestroy(); m_dlgt.onDestroy();
super.onDestroy(); super.onDestroy();

View file

@ -34,7 +34,7 @@ public class XWListActivity extends ListActivity implements ListDelegator {
protected void onCreate( Bundle savedInstanceState, DelegateBase dlgt ) protected void onCreate( Bundle savedInstanceState, DelegateBase dlgt )
{ {
if ( XWApp.LOG_LIFECYLE ) { if ( XWApp.LOG_LIFECYLE ) {
DbgUtils.logf( "%s.onCreate()", getClass().getName() ); DbgUtils.logf( "%s.onCreate(this=%H)", getClass().getName(), this );
} }
super.onCreate( savedInstanceState ); super.onCreate( savedInstanceState );
m_dlgt = dlgt; m_dlgt = dlgt;
@ -58,7 +58,7 @@ public class XWListActivity extends ListActivity implements ListDelegator {
protected void onPause() protected void onPause()
{ {
if ( XWApp.LOG_LIFECYLE ) { if ( XWApp.LOG_LIFECYLE ) {
DbgUtils.logf( "%s.onPause()", getClass().getName() ); DbgUtils.logf( "%s.onPause(this=%H)", getClass().getName(), this );
} }
m_dlgt.onPause(); m_dlgt.onPause();
super.onPause(); super.onPause();
@ -68,7 +68,7 @@ public class XWListActivity extends ListActivity implements ListDelegator {
protected void onResume() protected void onResume()
{ {
if ( XWApp.LOG_LIFECYLE ) { if ( XWApp.LOG_LIFECYLE ) {
DbgUtils.logf( "%s.onResume()", getClass().getName() ); DbgUtils.logf( "%s.onResume(this=%H)", getClass().getName(), this );
} }
super.onResume(); super.onResume();
m_dlgt.onResume(); m_dlgt.onResume();
@ -78,7 +78,7 @@ public class XWListActivity extends ListActivity implements ListDelegator {
protected void onStart() protected void onStart()
{ {
if ( XWApp.LOG_LIFECYLE ) { if ( XWApp.LOG_LIFECYLE ) {
DbgUtils.logf( "%s.onStart()", getClass().getName() ); DbgUtils.logf( "%s.onStart(this=%H)", getClass().getName(), this );
} }
super.onStart(); super.onStart();
m_dlgt.onStart(); m_dlgt.onStart();
@ -88,7 +88,7 @@ public class XWListActivity extends ListActivity implements ListDelegator {
protected void onStop() protected void onStop()
{ {
if ( XWApp.LOG_LIFECYLE ) { if ( XWApp.LOG_LIFECYLE ) {
DbgUtils.logf( "%s.onStop()", getClass().getName() ); DbgUtils.logf( "%s.onStop(this=%H)", getClass().getName(), this );
} }
m_dlgt.onStop(); m_dlgt.onStop();
super.onStop(); super.onStop();
@ -98,7 +98,7 @@ public class XWListActivity extends ListActivity implements ListDelegator {
protected void onDestroy() protected void onDestroy()
{ {
if ( XWApp.LOG_LIFECYLE ) { if ( XWApp.LOG_LIFECYLE ) {
DbgUtils.logf( "%s.onDestroy()", getClass().getName() ); DbgUtils.logf( "%s.onDestroy(this=%H)", getClass().getName(), this );
} }
m_dlgt.onDestroy(); m_dlgt.onDestroy();
super.onDestroy(); super.onDestroy();