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

Public Member Functions

 LogSetup ()
 
 ~LogSetup ()
 
- Public Member Functions inherited from BasicTestingSetup
void SeedRandomForTest (SeedRand seed)
 Seed the global RNG state and m_rng for testing and log the seed value. More...
 
 BasicTestingSetup (const ChainType chainType=ChainType::MAIN, TestOpts={})
 
 ~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
 
FastRandomContext m_rng
 
fs::path m_path_root
 
fs::path m_path_lock
 
bool m_has_custom_datadir {false}
 
ArgsManager m_args
 Test-specific arguments and settings. More...
 

Detailed Description

Definition at line 31 of file logging_tests.cpp.

Constructor & Destructor Documentation

◆ LogSetup()

LogSetup::LogSetup ( )
inline

Definition at line 42 of file logging_tests.cpp.

Here is the call graph for this function:

◆ ~LogSetup()

LogSetup::~LogSetup ( )
inline

Definition at line 65 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 39 of file logging_tests.cpp.

◆ prev_log_level

BCLog::Level LogSetup::prev_log_level

Definition at line 40 of file logging_tests.cpp.

◆ prev_log_path

fs::path LogSetup::prev_log_path

Definition at line 32 of file logging_tests.cpp.

◆ prev_log_sourcelocations

bool LogSetup::prev_log_sourcelocations

Definition at line 38 of file logging_tests.cpp.

◆ prev_log_threadnames

bool LogSetup::prev_log_threadnames

Definition at line 37 of file logging_tests.cpp.

◆ prev_log_timestamps

bool LogSetup::prev_log_timestamps

Definition at line 36 of file logging_tests.cpp.

◆ prev_print_to_file

bool LogSetup::prev_print_to_file

Definition at line 35 of file logging_tests.cpp.

◆ prev_reopen_file

bool LogSetup::prev_reopen_file

Definition at line 34 of file logging_tests.cpp.

◆ tmp_log_path

fs::path LogSetup::tmp_log_path

Definition at line 33 of file logging_tests.cpp.


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