|
rippled
|
Collects logging information. More...
#include <RCLConsensus.h>

Public Member Functions | |
| RclConsensusLogger (char const *label, bool validating, beast::Journal j) | |
| ~RclConsensusLogger () | |
| std::unique_ptr< std::stringstream > const & | ss () |
Private Attributes | |
| std::string | header_ |
| beast::Journal | j_ |
| std::unique_ptr< std::stringstream > | ss_ |
| std::chrono::steady_clock::time_point | start_ |
Collects logging information.
Eases correlating multiple data points together to help follow flow of a complex activity, such as consensus heartbeat timer. If we are a validator, then always write output to debug log on destruction. Otherwise, INFO level.
Definition at line 508 of file RCLConsensus.h.
|
explicit |
Definition at line 937 of file RCLConsensus.cpp.
| xrpl::RclConsensusLogger::~RclConsensusLogger | ( | ) |
Definition at line 948 of file RCLConsensus.cpp.
| std::unique_ptr< std::stringstream > const & xrpl::RclConsensusLogger::ss | ( | ) |
Definition at line 520 of file RCLConsensus.h.
|
private |
Definition at line 510 of file RCLConsensus.h.
|
private |
Definition at line 511 of file RCLConsensus.h.
|
private |
Definition at line 512 of file RCLConsensus.h.
|
private |
Definition at line 513 of file RCLConsensus.h.