Add a logging mode that takes a callback and flush'es to that callback.
Also add SB API's to set this callback, and to enable the log channels.

llvm-svn: 151018
diff --git a/lldb/scripts/Python/interface/SBDebugger.i b/lldb/scripts/Python/interface/SBDebugger.i
index 5048a83..465c856 100644
--- a/lldb/scripts/Python/interface/SBDebugger.i
+++ b/lldb/scripts/Python/interface/SBDebugger.i
@@ -119,6 +119,9 @@
     static lldb::SBDebugger
     Create();
 
+    static lldb::SBDebugger
+    Create(bool source_init_files);
+
     static void
     Destroy (lldb::SBDebugger &debugger);
 
@@ -262,6 +265,9 @@
     static bool
     StateIsStoppedState (lldb::StateType state);
 
+    bool
+    EnableLog (const char *channel, const char ** types);
+
     void
     DispatchInput (void *baton, const void *data, size_t data_len);