mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
logging: use LogPrintfCategory rather than a manual category
Here we update only the log messages that manually print a category. In upcoming commits, LogPrintCategory will likely be used in many other cases, such as to replace `LogPrintf` where it makes sense.
This commit is contained in:
@@ -376,8 +376,8 @@ void Session::CreateIfNotCreatedAlready()
|
||||
m_session_id = session_id;
|
||||
m_control_sock = std::move(sock);
|
||||
|
||||
LogPrintf("I2P: SAM session created: session id=%s, my address=%s\n", m_session_id,
|
||||
m_my_addr.ToString());
|
||||
LogPrintfCategory(BCLog::I2P, "SAM session created: session id=%s, my address=%s\n",
|
||||
m_session_id, m_my_addr.ToString());
|
||||
}
|
||||
|
||||
std::unique_ptr<Sock> Session::StreamAccept()
|
||||
|
||||
Reference in New Issue
Block a user