6 #ifdef BUILD_EASYLOGGINGPP 7 #ifdef BUILD_SHARED_LIBS 13 : BasicUsageEnvironment(taskScheduler)
18 CLOG(
INFO,
"netdev") <<
"RealSense network logging closed";
39 CLOG(
INFO,
"netdev") <<
"RealSense network logging initialized";
67 while(str[num] !=
'\0')
86 ptr += sprintf(
ptr,
"%d", i);
93 ptr += sprintf(
ptr,
"%u", u);
100 ptr += sprintf(
ptr,
"%f", d);
107 ptr += sprintf(
ptr,
"%p", p);
#define RS_MAX_LOG_MSG_THLD
Determines whether or not corresponding level and logger of logging is enabled You may disable all lo...
Informational events most useful for developers to debug application.
CLOG(INFO,"librealsense")<< "Log message to \"librealsense\" logger"
RSUsageEnvironment(TaskScheduler &taskScheduler)
Determines format of logging corresponding level and logger.
char buffer[RS_MAX_LOG_MSG_SIZE]
#define INITIALIZE_EASYLOGGINGPP
virtual UsageEnvironment & operator<<(char const *str)
static void reconfigureAllLoggers(const Configurations &configurations)
Reconfigures all the existing loggers with new configurations.
static bool unregisterLogger(const std::string &identity)
Unregisters logger - use it only when you know what you are doing, you may unregister loggers initial...
static Logger * getLogger(const std::string &identity, bool registerIfNotAvailable=true)
Gets existing or registers new logger.
Generic level that represents all the levels. Useful when setting global configuration for all levels...
Whether or not to write corresponding log to log file.
Whether or not to write corresponding level and logger log to standard output. By standard output mea...
static RSUsageEnvironment * createNew(TaskScheduler &taskScheduler)
virtual ~RSUsageEnvironment()
#define RS_MAX_LOG_MSG_SIZE