mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-04 02:02:42 +02:00
scripted-diff: LogPrint -> LogDebug
-BEGIN VERIFY SCRIPT- sed -i 's/\<LogPrint\>/LogDebug/g' $( git grep -l '\<LogPrint\>' -- ./contrib/ ./src/ ./test/ ':(exclude)src/logging.h' ) -END VERIFY SCRIPT-
This commit is contained in:
@@ -55,7 +55,7 @@ public:
|
||||
if (m_log_category == BCLog::LogFlags::ALL) {
|
||||
LogPrintf("%s\n", full_msg);
|
||||
} else {
|
||||
LogPrint(m_log_category, "%s\n", full_msg);
|
||||
LogDebug(m_log_category, "%s\n", full_msg);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@ private:
|
||||
//! A descriptive message of what is being timed.
|
||||
const std::string m_title;
|
||||
|
||||
//! Forwarded on to LogPrint if specified - has the effect of only
|
||||
//! Forwarded on to LogDebug if specified - has the effect of only
|
||||
//! outputting the timing log when a particular debug= category is specified.
|
||||
const BCLog::LogFlags m_log_category;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user