Bitcoin Core  27.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
LogSetup Struct Reference
Inheritance diagram for LogSetup:
Collaboration diagram for LogSetup:

Public Member Functions

 LogSetup ()
 ~LogSetup ()
- Public Member Functions inherited from BasicTestingSetup
 BasicTestingSetup (const ChainType chainType=ChainType::MAIN, const std::vector< const char * > &extra_args={})
 ~BasicTestingSetup ()

Public Attributes

fs::path prev_log_path
fs::path tmp_log_path
bool prev_reopen_file
bool prev_print_to_file
bool prev_log_timestamps
bool prev_log_threadnames
bool prev_log_sourcelocations
std::unordered_map< BCLog::LogFlags, BCLog::Levelprev_category_levels
BCLog::Level prev_log_level
- Public Attributes inherited from BasicTestingSetup
util::SignalInterrupt m_interrupt
node::NodeContext m_node
fs::path m_path_root
fs::path m_path_lock
bool m_has_custom_datadir {false}
ArgsManager m_args

Detailed Description

Definition at line 28 of file logging_tests.cpp.

Constructor & Destructor Documentation

◆ LogSetup()

LogSetup::LogSetup ( )

Definition at line 39 of file logging_tests.cpp.

Here is the call graph for this function:

◆ ~LogSetup()

LogSetup::~LogSetup ( )

Definition at line 62 of file logging_tests.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ prev_category_levels

std::unordered_map<BCLog::LogFlags, BCLog::Level> LogSetup::prev_category_levels

Definition at line 36 of file logging_tests.cpp.

◆ prev_log_level

BCLog::Level LogSetup::prev_log_level

Definition at line 37 of file logging_tests.cpp.

◆ prev_log_path

fs::path LogSetup::prev_log_path

Definition at line 29 of file logging_tests.cpp.

◆ prev_log_sourcelocations

bool LogSetup::prev_log_sourcelocations

Definition at line 35 of file logging_tests.cpp.

◆ prev_log_threadnames

bool LogSetup::prev_log_threadnames

Definition at line 34 of file logging_tests.cpp.

◆ prev_log_timestamps

bool LogSetup::prev_log_timestamps

Definition at line 33 of file logging_tests.cpp.

◆ prev_print_to_file

bool LogSetup::prev_print_to_file

Definition at line 32 of file logging_tests.cpp.

◆ prev_reopen_file

bool LogSetup::prev_reopen_file

Definition at line 31 of file logging_tests.cpp.

◆ tmp_log_path

fs::path LogSetup::tmp_log_path

Definition at line 30 of file logging_tests.cpp.

The documentation for this struct was generated from the following file: