Index: source/Core/StringList.cpp =================================================================== --- source/Core/StringList.cpp +++ source/Core/StringList.cpp @@ -12,6 +12,7 @@ #include "lldb/Core/StreamString.h" #include "lldb/Host/FileSpec.h" #include "lldb/Core/Log.h" +#include "lldb/Core/StreamString.h" #include @@ -362,10 +363,16 @@ { if (!log) return; + + StreamString strm; if (name) - log->Debug("Begin %s:", name); - for (const auto &s : m_strings) - log->Debug("\t%s", s.c_str()); + strm.Printf("Begin %s:\n", name); + for (const auto &s : m_strings) { + strm.Indent(); + strm.Printf("%s\n", s.c_str()); + } if (name) - log->Debug("End %s.", name); + strm.Printf("End %s.\n", name); + + log->Debug("%s", strm.GetData()); }