log: Remove error() reference

This commit is contained in:
Fabian Jahr
2024-02-18 18:45:18 +01:00
parent d14c7286b6
commit d0e6564240

View File

@@ -215,7 +215,7 @@ static inline bool LogAcceptCategory(BCLog::LogFlags category, BCLog::Level leve
/** Return true if str parses as a log category and set the flag */ /** Return true if str parses as a log category and set the flag */
bool GetLogCategory(BCLog::LogFlags& flag, const std::string& str); bool GetLogCategory(BCLog::LogFlags& flag, const std::string& str);
// Be conservative when using LogPrintf/error or other things which // Be conservative when using functions that
// unconditionally log to debug.log! It should not be the case that an inbound // unconditionally log to debug.log! It should not be the case that an inbound
// peer can fill up a user's disk with debug.log entries. // peer can fill up a user's disk with debug.log entries.