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