Make "log enable -v" work. We were only checking the log's stream's verbosity, not the log's verbosity...
llvm-svn: 124013
diff --git a/lldb/source/Core/Log.cpp b/lldb/source/Core/Log.cpp
index eaa8c75..ceead58 100644
--- a/lldb/source/Core/Log.cpp
+++ b/lldb/source/Core/Log.cpp
@@ -442,6 +442,10 @@
bool
Log::GetVerbose() const
{
+ // FIXME: This has to be centralized between the stream and the log...
+ if (m_options.Test(LLDB_LOG_OPTION_VERBOSE))
+ return true;
+
if (m_stream_sp)
return m_stream_sp->GetVerbose();
return false;