Bitcoin Core  22.99.0
P2P Digital Currency
Macros | Variables
main.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <test/util/setup_common.h>
#include <iostream>
Include dependency graph for main.cpp:

Go to the source code of this file.


#define BOOST_TEST_MODULE   Bitcoin Core Test Suite
 See More...


const std::function< void(const std::string &)> G_TEST_LOG_FUN
 Redirect debug log to unit_test.log files. More...

Macro Definition Documentation


#define BOOST_TEST_MODULE   Bitcoin Core Test Suite

Variable Documentation


const std::function<void(const std::string&)> G_TEST_LOG_FUN
Initial value:
= [](const std::string& s) {
static const bool should_log{std::any_of(
[](const char* arg) {
return std::string{"DEBUG_LOG_OUT"} == arg;
if (!should_log) return;
std::cout << s;

Redirect debug log to unit_test.log files.

This is connected to the logger.

Definition at line 17 of file main.cpp.