Log the sequence of Android Activity and Fragment: onCreate, onStart, onCreateView, onResume, onPause, onStop, onDestroy.