PIVX Core  5.6.99
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
CBatchedLogger Class Reference

PIVX. More...

#include <logging.h>

Inheritance diagram for CBatchedLogger:
[legend]
Collaboration diagram for CBatchedLogger:
[legend]

Public Member Functions

 CBatchedLogger (BCLog::Logger *_logger, BCLog::LogFlags _category, const std::string &_header)
 PIVX. More...
 
virtual ~CBatchedLogger ()
 
void Flush ()
 
template<typename... Args>
void Batch (const std::string &fmt, const Args &... args)
 

Private Attributes

BCLog::Loggerlogger
 
bool accept
 
std::string header
 
std::string msg
 

Detailed Description

PIVX.

Definition at line 171 of file logging.h.

Constructor & Destructor Documentation

◆ CBatchedLogger()

CBatchedLogger::CBatchedLogger ( BCLog::Logger _logger,
BCLog::LogFlags  _category,
const std::string &  _header 
)

PIVX.

Definition at line 268 of file logging.cpp.

◆ ~CBatchedLogger()

CBatchedLogger::~CBatchedLogger ( )
virtual

Definition at line 274 of file logging.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ Batch()

template<typename... Args>
void CBatchedLogger::Batch ( const std::string &  fmt,
const Args &...  args 
)
inline

Definition at line 184 of file logging.h.

Here is the caller graph for this function:

◆ Flush()

void CBatchedLogger::Flush ( )

Definition at line 279 of file logging.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ accept

bool CBatchedLogger::accept
private

Definition at line 175 of file logging.h.

◆ header

std::string CBatchedLogger::header
private

Definition at line 176 of file logging.h.

◆ logger

BCLog::Logger* CBatchedLogger::logger
private

Definition at line 174 of file logging.h.

◆ msg

std::string CBatchedLogger::msg
private

Definition at line 177 of file logging.h.


The documentation for this class was generated from the following files: