Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

#include <batchedlogger.h>

+ Inheritance diagram for CBatchedLogger:

Public Member Functions

 CBatchedLogger (uint64_t _category, const std::string &_header)
 
virtual ~CBatchedLogger ()
 
template<typename... Args>
void Batch (const std::string &fmt, const Args &... args)
 
void Flush ()
 

Private Attributes

bool accept
 
std::string header
 
std::string msg
 

Detailed Description

Definition at line 10 of file batchedlogger.h.

Constructor & Destructor Documentation

◆ CBatchedLogger()

CBatchedLogger::CBatchedLogger ( uint64_t  _category,
const std::string &  _header 
)

Definition at line 8 of file batchedlogger.cpp.

◆ ~CBatchedLogger()

CBatchedLogger::~CBatchedLogger ( )
virtual

Definition at line 13 of file batchedlogger.cpp.

References Flush().

Member Function Documentation

◆ Batch()

◆ Flush()

Member Data Documentation

◆ accept

bool CBatchedLogger::accept
private

Definition at line 13 of file batchedlogger.h.

Referenced by Batch(), and Flush().

◆ header

std::string CBatchedLogger::header
private

Definition at line 14 of file batchedlogger.h.

Referenced by Flush().

◆ msg

std::string CBatchedLogger::msg
private

Definition at line 15 of file batchedlogger.h.

Referenced by Batch(), and Flush().


The documentation for this class was generated from the following files:
Released under the MIT license