diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2015-09-05 22:32:07 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2015-09-05 22:32:07 +0900 |
commit | f98986f4d6257c7a36d905c04ab73341dd911961 (patch) | |
tree | 3094d227630658d97624b73710c54196604299b0 /app/src/main/java/net/lacolaco/smileessence/view | |
parent | 2d61eddd1d25d91f62394c4e13545f5bf28686df (diff) | |
download | SmileEssence-f98986f4d6257c7a36d905c04ab73341dd911961.tar.gz |
スタックトレースから Logger の呼びだしクラス・メソッドを取得することにした
Diffstat (limited to 'app/src/main/java/net/lacolaco/smileessence/view')
-rw-r--r-- | app/src/main/java/net/lacolaco/smileessence/view/PostFragment.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/src/main/java/net/lacolaco/smileessence/view/PostFragment.java b/app/src/main/java/net/lacolaco/smileessence/view/PostFragment.java index fd980bff..b72791e1 100644 --- a/app/src/main/java/net/lacolaco/smileessence/view/PostFragment.java +++ b/app/src/main/java/net/lacolaco/smileessence/view/PostFragment.java @@ -128,7 +128,7 @@ public class PostFragment extends Fragment implements TextWatcher, View.OnFocusC @Override public void onPostStateChange(final PostState postState) { - Logger.debug("PostFragment PostStateChange"); + Logger.debug("onPostStateChange"); final MainActivity activity = (MainActivity) getActivity(); if (editText != null) { final int start = postState.getSelectionStart(); @@ -218,7 +218,7 @@ public class PostFragment extends Fragment implements TextWatcher, View.OnFocusC @Override public void onCreate(Bundle savedInstanceState) { - Logger.debug("PostFragment Create"); + Logger.debug("onCreate"); super.onCreate(savedInstanceState); setHasOptionsMenu(true); } @@ -231,7 +231,7 @@ public class PostFragment extends Fragment implements TextWatcher, View.OnFocusC } public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { - Logger.debug("PostFragment CreateView"); + Logger.debug("onCreateView"); MainActivity activity = (MainActivity) getActivity(); PostState.getState().setListener(this); UserPreferenceHelper preferenceHelper = new UserPreferenceHelper(activity); @@ -273,7 +273,7 @@ public class PostFragment extends Fragment implements TextWatcher, View.OnFocusC @Override public void onDestroyView() { - Logger.debug("PostFragment DestroyView"); + Logger.debug("onDestroyView"); super.onDestroyView(); setStateFromView(); PostState.getState().removeListener(); @@ -281,7 +281,7 @@ public class PostFragment extends Fragment implements TextWatcher, View.OnFocusC @Override public void onViewStateRestored(Bundle savedInstanceState) { - Logger.debug("PostFragment ViewStateRestored"); + Logger.debug("onViewStateRestored"); super.onViewStateRestored(savedInstanceState); PostState state = PostState.getState(); onPostStateChange(state); |