mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 03:56:16 +08:00
Clean up debug logging
Summary: We've had two ways to print a "debug" log message. - Log::GetDebug() was testing a Stream flag which was never set. - Log::Debug() was checking for the presence of "log enable --debug" flag. Given that these two were used very rarely and we already have a different way to specify "I want a more verbose log", I propose to remove these two functions and migrate the callers to LLDB_LOGV. This commit does that. Reviewers: clayborg, zturner Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D29823 llvm-svn: 294939
This commit is contained in:
@@ -267,5 +267,5 @@ void StringList::LogDump(Log *log, const char *name) {
|
||||
if (name)
|
||||
strm.Printf("End %s.\n", name);
|
||||
|
||||
log->Debug("%s", strm.GetData());
|
||||
LLDB_LOGV(log, "{0}", strm.GetData());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user