 |
Bitcoin Core
22.99.0
P2P Digital Currency
|
Go to the documentation of this file.
14 : m_message{std::move(message)}, m_match(std::move(match))
17 [
this](
const std::string& s) {
19 m_found = s.find(m_message) != std::string::npos && m_match(&s);
void DeleteCallback(std::list< std::function< void(const std::string &)>>::iterator it)
Delete a connection.
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.
BCLog::Logger & LogInstance()
std::list< std::function< void(const std::string &)> >::iterator PushBackCallback(std::function< void(const std::string &)> fun)
Connect a slot to the print signal and return the connection.
void noui_test_redirect()
Redirect all bitcoind signal handlers to LogPrintf.
void noui_reconnect()
Reconnects the regular Non-GUI handlers after having used noui_test_redirect.