5 #ifndef BITCOIN_TEST_UTIL_LOGGING_H 6 #define BITCOIN_TEST_UTIL_LOGGING_H 26 using MatchFn = std::function<bool(const std::string* line)>;
42 #define ASSERT_DEBUG_LOG(message) DebugLogHelper UNIQUE_NAME(debugloghelper)(message) 44 #endif // BITCOIN_TEST_UTIL_LOGGING_H DebugLogHelper & operator=(const DebugLogHelper &)=delete
std::list< std::function< void(const std::string &)> >::iterator m_print_connection
const std::string m_message
DebugLogHelper(std::string message, MatchFn match=[](const std::string *){ return true;})
std::function< bool(const std::string *line)> MatchFn
Custom match checking function.