mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
scripted-diff: remove duplicate categories from LogPrint output
-BEGIN VERIFY SCRIPT-
s() { git grep -l "$1" src | xargs sed -i "s/$1/$2/g"; }
s 'BCLog::TOR, "tor: ' 'BCLog::TOR, "'
s 'BCLog::I2P, "I2P: ' 'BCLog::I2P, "'
s 'BCLog::NET, "net: ' 'BCLog::NET, "'
s 'BCLog::ZMQ, "zmq: ' 'BCLog::ZMQ, "'
s 'BCLog::PRUNE, "Prune: ' 'BCLog::PRUNE, "'
-END VERIFY SCRIPT-
This commit is contained in:
@@ -242,7 +242,7 @@ std::string Session::Reply::Get(const std::string& key) const
|
||||
template <typename... Args>
|
||||
void Session::Log(const std::string& fmt, const Args&... args) const
|
||||
{
|
||||
LogPrint(BCLog::I2P, "I2P: %s\n", tfm::format(fmt, args...));
|
||||
LogPrint(BCLog::I2P, "%s\n", tfm::format(fmt, args...));
|
||||
}
|
||||
|
||||
Session::Reply Session::SendRequestAndGetReply(const Sock& sock,
|
||||
|
||||
Reference in New Issue
Block a user