Include lldb/commands as a valid logging type in the
'log list' output.

Remove an extraneous \n from one of the lldb/commands
log line.

Add an lldb/commands log indicating whether the command
was successful or not.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138530 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Interpreter/CommandInterpreter.cpp b/source/Interpreter/CommandInterpreter.cpp
index d2e3a5b..f403d04 100644
--- a/source/Interpreter/CommandInterpreter.cpp
+++ b/source/Interpreter/CommandInterpreter.cpp
@@ -1187,7 +1187,7 @@
             remainder.erase(0, pos);
 
         if (log)
-            log->Printf ("HandleCommand, command line after removing command name(s): '%s'\n", remainder.c_str());
+            log->Printf ("HandleCommand, command line after removing command name(s): '%s'", remainder.c_str());
     
 
         if (wants_raw_input)
@@ -1237,6 +1237,9 @@
         result.SetStatus (eReturnStatusFailed);
     }
     
+    if (log)
+      log->Printf ("HandleCommand, command %s", (result.Succeeded() ? "succeeded" : "did not succeed"));
+
     return result.Succeeded();
 }