Clean up the API logging code:
      - Try to reduce logging to one line per function call instead of tw
      - Put all arguments & their values into log for calls
      - Add 'this' parameter information to function call logging, making it show the appropriate
        internal pointer (this.obj, this.sp, this.ap...)
      - Clean up some return values
      - Remove logging of constructors that construct empty objects
      - Change '==>' to '=>'  for showing result values...
      - Fix various minor bugs
      - Add some protected 'get' functions to help getting the internal pointers for the 'this' arguments...      



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117417 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBValue.cpp b/source/API/SBValue.cpp
index 780a61f..7f0cfc2 100644
--- a/source/API/SBValue.cpp
+++ b/source/API/SBValue.cpp
@@ -37,23 +37,19 @@
 SBValue::SBValue () :
     m_opaque_sp ()
 {
-    Log *log = lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API | LIBLLDB_LOG_VERBOSE);
-
-    if (log)
-        log->Printf ("SBValue::SBValue () ==> this = %p", this);
 }
 
 SBValue::SBValue (const lldb::ValueObjectSP &value_sp) :
     m_opaque_sp (value_sp)
 {
-    Log *log = lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API | LIBLLDB_LOG_VERBOSE);
+    Log *log = lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API);
 
     if (log)
     {
         SBStream sstr;
         GetDescription (sstr);
-        log->Printf ("SBValue::SBValue (const lldb::ValueObjectSP &value_sp) value_sp.get() = %p ==> this = %p (%s)",
-                     value_sp.get(), this, sstr.GetData());
+        log->Printf ("SBValue::SBValue (value_sp=%p) => this.sp = %p (%s)",
+                     value_sp.get(), m_opaque_sp.get(), sstr.GetData());
     }
 }
 
@@ -83,19 +79,21 @@
 {
     Log *log = lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API);
 
-    if (log)
-        log->Printf ("SBValue::GetName ()");
+    //if (log)
+    //    log->Printf ("SBValue::GetName ()");
 
     if (IsValid())
     {
         if (log)
-            log->Printf ("SBValue::GetName ==> %s", m_opaque_sp->GetName().AsCString());
+            log->Printf ("SBValue::GetName (this.sp=%p) => '%s'", m_opaque_sp.get(),
+                         m_opaque_sp->GetName().AsCString());
+
         return m_opaque_sp->GetName().AsCString();
     }
     else
     {
         if (log)
-            log->Printf ("SBValue::GetName ==> NULL");
+            log->Printf ("SBValue::GetName (this.sp=%p) ==> NULL", m_opaque_sp.get());
         return NULL;
     }
 }