@@ -0,0 +1,780 @@
+package com.example.myfirstapp2;%0A%0Aimport android.os.Bundle;%0Aimport android.app.Activity;%0Aimport android.util.Log;%0Aimport android.view.Menu;%0A%0Apublic class LoggerActivity extends Activity %7B%0A%09private static final String TAG = %22LoggerActivity%22;%0A%09%0A%09@Override%0A%09protected void onCreate(Bundle savedInstanceState) %7B%0A%09%09super.onCreate(savedInstanceState);%0A%09%09setContentView(R.layout.activity_logger);%0A%09%09Log.d(TAG, %22THIS IS MY LOGGING LINE --- IT%E2%80%99S GREAT FOR DEBUGGING%22);%0A%09%7D%0A%0A%09@Override%0A%09public boolean onCreateOptionsMenu(Menu menu) %7B%0A%09%09// Inflate the menu; this adds items to the action bar if it is present.%0A%09%09getMenuInflater().inflate(R.menu.logger, menu);%0A%09%09return true;%0A%09%7D%0A%09%0A%09@Override%0A%09 protected void onPause() %7B%0A%09%09    super.onPause();%0A%09%09    Log.d(TAG, %22I got onPause!!!%22);%0A%09%09  %7D%0A%0A%0A%7D%0A

Create LoggerActivity.java