7 #include "../../../src/algo/depth-to-rgb-calibration/debug.h" 20 if( ! _p_logger->
_on )
22 char const * raw =
data->logMessage()->message().data();
39 el::Helpers::installLogDispatchCallback< dispatch >(
"our_dispatch" );
40 auto dispatcher = el::Helpers::logDispatchCallback< dispatch >(
"our_dispatch" );
41 dispatcher->_p_logger =
this;
46 void enable(
bool on =
true ) { _on = on; }
GLenum GLuint GLenum GLsizei const GLchar * message
GLenum GLuint GLenum severity
void handle(const el::LogDispatchData *data) noexceptoverride
static const char * convertToString(Level level)
Converts level to associated const char*.
Exposes RealSense structs.
void enable(bool on=true)
static Logger * getLogger(const std::string &identity, bool registerIfNotAvailable=true)
Gets existing or registers new logger.
virtual void on_log(char severity, char const *message)
el::Helpers::uninstallLogDispatchCallback< el::base::DefaultLogDispatchCallback >("DefaultLogDispatchCallback")
#define AC_LOG_PREFIX_LEN