Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Protected Attributes | List of all members
dev::LogOutputStreamBase Class Reference

#include <Log.h>

Inheritance diagram for dev::LogOutputStreamBase:
[legend]

Public Member Functions

 LogOutputStreamBase (char const *_id, std::type_info const *_info, unsigned _v, bool _autospacing)
 
void comment (std::string const &_t)
 
void append (unsigned long _t)
 
void append (long _t)
 
void append (unsigned int _t)
 
void append (int _t)
 
void append (bigint const &_t)
 
void append (u256 const &_t)
 
void append (u160 const &_t)
 
void append (double _t)
 
template<unsigned N>
void append (FixedHash< N > const &_t)
 
void append (h160 const &_t)
 
void append (h256 const &_t)
 
void append (h512 const &_t)
 
void append (std::string const &_t)
 
void append (bytes const &_t)
 
void append (bytesConstRef _t)
 
template<class T >
void append (std::vector< T > const &_t)
 
template<class T >
void append (std::set< T > const &_t)
 
template<class T , class U >
void append (std::map< T, U > const &_t)
 
template<class T >
void append (std::unordered_set< T > const &_t)
 
template<class T , class U >
void append (std::unordered_map< T, U > const &_t)
 
template<class T , class U >
void append (std::pair< T, U > const &_t)
 
template<class T >
void append (T const &_t)
 

Protected Attributes

bool m_autospacing = false
 
unsigned m_verbosity = 0
 
std::stringstream m_sstr
 The accrued log entry. More...
 
LogTag m_logTag = LogTag::None
 

Detailed Description

Definition at line 146 of file Log.h.

Constructor & Destructor Documentation

LogOutputStreamBase::LogOutputStreamBase ( char const *  _id,
std::type_info const *  _info,
unsigned  _v,
bool  _autospacing 
)

Definition at line 88 of file Log.cpp.

Here is the call graph for this function:

Member Function Documentation

void dev::LogOutputStreamBase::append ( unsigned long  _t)
inline

Definition at line 164 of file Log.h.

void dev::LogOutputStreamBase::append ( long  _t)
inline

Definition at line 165 of file Log.h.

void dev::LogOutputStreamBase::append ( unsigned int  _t)
inline

Definition at line 166 of file Log.h.

void dev::LogOutputStreamBase::append ( int  _t)
inline

Definition at line 167 of file Log.h.

void dev::LogOutputStreamBase::append ( bigint const &  _t)
inline

Definition at line 168 of file Log.h.

void dev::LogOutputStreamBase::append ( u256 const &  _t)
inline

Definition at line 169 of file Log.h.

void dev::LogOutputStreamBase::append ( u160 const &  _t)
inline

Definition at line 170 of file Log.h.

void dev::LogOutputStreamBase::append ( double  _t)
inline

Definition at line 171 of file Log.h.

template<unsigned N>
void dev::LogOutputStreamBase::append ( FixedHash< N > const &  _t)
inline

Definition at line 172 of file Log.h.

Here is the call graph for this function:

void dev::LogOutputStreamBase::append ( h160 const &  _t)
inline

Definition at line 173 of file Log.h.

Here is the call graph for this function:

void dev::LogOutputStreamBase::append ( h256 const &  _t)
inline

Definition at line 174 of file Log.h.

Here is the call graph for this function:

void dev::LogOutputStreamBase::append ( h512 const &  _t)
inline

Definition at line 175 of file Log.h.

Here is the call graph for this function:

void dev::LogOutputStreamBase::append ( std::string const &  _t)
inline

Definition at line 176 of file Log.h.

void dev::LogOutputStreamBase::append ( bytes const &  _t)
inline

Definition at line 177 of file Log.h.

Here is the call graph for this function:

void dev::LogOutputStreamBase::append ( bytesConstRef  _t)
inline

Definition at line 178 of file Log.h.

Here is the call graph for this function:

template<class T >
void dev::LogOutputStreamBase::append ( std::vector< T > const &  _t)
inline

Definition at line 179 of file Log.h.

template<class T >
void dev::LogOutputStreamBase::append ( std::set< T > const &  _t)
inline

Definition at line 190 of file Log.h.

template<class T , class U >
void dev::LogOutputStreamBase::append ( std::map< T, U > const &  _t)
inline

Definition at line 201 of file Log.h.

template<class T >
void dev::LogOutputStreamBase::append ( std::unordered_set< T > const &  _t)
inline

Definition at line 214 of file Log.h.

template<class T , class U >
void dev::LogOutputStreamBase::append ( std::unordered_map< T, U > const &  _t)
inline

Definition at line 225 of file Log.h.

template<class T , class U >
void dev::LogOutputStreamBase::append ( std::pair< T, U > const &  _t)
inline

Definition at line 238 of file Log.h.

template<class T >
void dev::LogOutputStreamBase::append ( T const &  _t)
inline

Definition at line 246 of file Log.h.

Here is the call graph for this function:

void dev::LogOutputStreamBase::comment ( std::string const &  _t)
inline

Definition at line 151 of file Log.h.

Member Data Documentation

bool dev::LogOutputStreamBase::m_autospacing = false
protected

Definition at line 252 of file Log.h.

LogTag dev::LogOutputStreamBase::m_logTag = LogTag::None
protected

Definition at line 255 of file Log.h.

std::stringstream dev::LogOutputStreamBase::m_sstr
protected

The accrued log entry.

Definition at line 254 of file Log.h.

unsigned dev::LogOutputStreamBase::m_verbosity = 0
protected

Definition at line 253 of file Log.h.


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