implemented default logging functionality to BaseFragment and BaseFragmentActivity.