Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
el::base::Writer Class Reference

Main entry point of each logging. More...

#include <easylogging++.h>

Inheritance diagram for el::base::Writer:
Inheritance graph
[legend]

Public Member Functions

Writerconstruct (Logger *logger, bool needLock=true)
 
Writerconstruct (int count, const char *loggerIds,...)
 
 operator bool ()
 
template<typename T >
Writeroperator<< (const T &log)
 
Writeroperator<< (std::ostream &(*log)(std::ostream &))
 
 Writer (Level level, const char *file, base::type::LineNumber line, const char *func, base::DispatchAction dispatchAction=base::DispatchAction::NormalLog, base::type::VerboseLevel verboseLevel=0)
 
 Writer (LogMessage *msg, base::DispatchAction dispatchAction=base::DispatchAction::NormalLog)
 
virtual ~Writer (void)
 

Protected Member Functions

void initializeLogger (const std::string &loggerId, bool lookup=true, bool needLock=true)
 
void processDispatch ()
 
void triggerDispatch (void)
 

Protected Attributes

base::DispatchAction m_dispatchAction
 
const char * m_file
 
const char * m_func
 
Level m_level
 
const base::type::LineNumber m_line
 
Loggerm_logger
 
std::vector< std::stringm_loggerIds
 
base::MessageBuilder m_messageBuilder
 
LogMessagem_msg
 
bool m_proceed
 
base::type::VerboseLevel m_verboseLevel
 

Friends

class el::Helpers
 

Additional Inherited Members

- Private Member Functions inherited from el::base::NoCopy
 NoCopy (void)
 

Detailed Description

Main entry point of each logging.

Definition at line 3225 of file easylogging++.h.

Constructor & Destructor Documentation

el::base::Writer::Writer ( Level  level,
const char *  file,
base::type::LineNumber  line,
const char *  func,
base::DispatchAction  dispatchAction = base::DispatchAction::NormalLog,
base::type::VerboseLevel  verboseLevel = 0 
)
inline

Definition at line 3227 of file easylogging++.h.

el::base::Writer::Writer ( LogMessage msg,
base::DispatchAction  dispatchAction = base::DispatchAction::NormalLog 
)
inline

Definition at line 3234 of file easylogging++.h.

virtual el::base::Writer::~Writer ( void  )
inlinevirtual

Definition at line 3239 of file easylogging++.h.

Member Function Documentation

Writer & el::base::Writer::construct ( Logger logger,
bool  needLock = true 
)

Definition at line 2597 of file easylogging++.cc.

Writer & el::base::Writer::construct ( int  count,
const char *  loggerIds,
  ... 
)

Definition at line 2605 of file easylogging++.cc.

void el::base::Writer::initializeLogger ( const std::string loggerId,
bool  lookup = true,
bool  needLock = true 
)
protected

Definition at line 2625 of file easylogging++.cc.

el::base::Writer::operator bool ( )
inline

Definition at line 3262 of file easylogging++.h.

template<typename T >
Writer& el::base::Writer::operator<< ( const T &  log)
inline

Definition at line 3244 of file easylogging++.h.

Writer& el::base::Writer::operator<< ( std::ostream &(*)(std::ostream &)  log)
inline

Definition at line 3253 of file easylogging++.h.

void el::base::Writer::processDispatch ( )
protected

Definition at line 2653 of file easylogging++.cc.

void el::base::Writer::triggerDispatch ( void  )
protected

Definition at line 2695 of file easylogging++.cc.

Friends And Related Function Documentation

friend class el::Helpers
friend

Definition at line 3280 of file easylogging++.h.

Member Data Documentation

base::DispatchAction el::base::Writer::m_dispatchAction
protected

Definition at line 3278 of file easylogging++.h.

const char* el::base::Writer::m_file
protected

Definition at line 3271 of file easylogging++.h.

const char* el::base::Writer::m_func
protected

Definition at line 3273 of file easylogging++.h.

Level el::base::Writer::m_level
protected

Definition at line 3270 of file easylogging++.h.

const base::type::LineNumber el::base::Writer::m_line
protected

Definition at line 3272 of file easylogging++.h.

Logger* el::base::Writer::m_logger
protected

Definition at line 3275 of file easylogging++.h.

std::vector<std::string> el::base::Writer::m_loggerIds
protected

Definition at line 3279 of file easylogging++.h.

base::MessageBuilder el::base::Writer::m_messageBuilder
protected

Definition at line 3277 of file easylogging++.h.

LogMessage* el::base::Writer::m_msg
protected

Definition at line 3269 of file easylogging++.h.

bool el::base::Writer::m_proceed
protected

Definition at line 3276 of file easylogging++.h.

base::type::VerboseLevel el::base::Writer::m_verboseLevel
protected

Definition at line 3274 of file easylogging++.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:36