GNU Radio 3.6.5 C++ API
|
GNURADIO logging wrapper for log4cpp library (C++ port of log4j) More...
#include <gr_core_api.h>
#include <assert.h>
#include <iostream>
#include <boost/format.hpp>
Go to the source code of this file.
Defines | |
#define | GR_LOG_DECLARE_LOGPTR(logger) |
#define | GR_LOG_ASSIGN_LOGPTR(logger, name) |
#define | GR_CONFIG_LOGGER(config) |
#define | GR_CONFIG_AND_WATCH_LOGGER(config, period) |
#define | GR_LOG_GETLOGGER(logger, name) |
#define | GR_SET_LEVEL(name, level) |
#define | GR_LOG_SET_LEVEL(logger, level) |
#define | GR_GET_LEVEL(name, level) |
#define | GR_LOG_GET_LEVEL(logger, level) |
#define | GR_ADD_CONSOLE_APPENDER(logger, target, pattern) |
#define | GR_LOG_ADD_CONSOLE_APPENDER(logger, target, pattern) |
#define | GR_ADD_FILE_APPENDER(name, filename, append, pattern) |
#define | GR_LOG_ADD_FILE_APPENDER(logger, filename, append, pattern) |
#define | GR_ADD_ROLLINGFILE_APPENDER(name, filename, filesize, bkup_index, append, mode, pattern) |
#define | GR_LOG_ADD_ROLLINGFILE_APPENDER(logger, filename, filesize, bkup_index, append, mode, pattern) |
#define | GR_GET_LOGGER_NAMES(names) |
#define | GR_RESET_CONFIGURATION() |
#define | GR_DEBUG(name, msg) |
#define | GR_INFO(name, msg) |
#define | GR_NOTICE(name, msg) |
#define | GR_WARN(name, msg) |
#define | GR_ERROR(name, msg) |
#define | GR_ALERT(name, msg) |
#define | GR_CRIT(name, msg) |
#define | GR_FATAL(name, msg) |
#define | GR_EMERG(name, msg) |
#define | GR_ERRORIF(name, cond, msg) |
#define | GR_ASSERT(name, cond, msg) |
#define | GR_LOG_DEBUG(logger, msg) |
#define | GR_LOG_INFO(logger, msg) |
#define | GR_LOG_NOTICE(logger, msg) |
#define | GR_LOG_WARN(logger, msg) |
#define | GR_LOG_ERROR(logger, msg) |
#define | GR_LOG_ALERT(logger, msg) |
#define | GR_LOG_CRIT(logger, msg) |
#define | GR_LOG_FATAL(logger, msg) |
#define | GR_LOG_EMERG(logger, msg) |
#define | GR_LOG_ERRORIF(logger, cond, msg) |
#define | GR_LOG_ASSERT(logger, cond, msg) |
Typedefs | |
typedef void * | gr_logger_ptr |
GNURADIO logging wrapper for log4cpp library (C++ port of log4j)
#define GR_ADD_CONSOLE_APPENDER | ( | logger, | |
target, | |||
pattern | |||
) |
#define GR_ADD_FILE_APPENDER | ( | name, | |
filename, | |||
append, | |||
pattern | |||
) |
#define GR_ADD_ROLLINGFILE_APPENDER | ( | name, | |
filename, | |||
filesize, | |||
bkup_index, | |||
append, | |||
mode, | |||
pattern | |||
) |
#define GR_ALERT | ( | name, | |
msg | |||
) |
#define GR_ASSERT | ( | name, | |
cond, | |||
msg | |||
) |
#define GR_CONFIG_AND_WATCH_LOGGER | ( | config, | |
period | |||
) |
#define GR_CONFIG_LOGGER | ( | config | ) |
#define GR_CRIT | ( | name, | |
msg | |||
) |
#define GR_DEBUG | ( | name, | |
msg | |||
) |
#define GR_EMERG | ( | name, | |
msg | |||
) |
#define GR_ERROR | ( | name, | |
msg | |||
) |
#define GR_ERRORIF | ( | name, | |
cond, | |||
msg | |||
) |
#define GR_FATAL | ( | name, | |
msg | |||
) |
#define GR_GET_LEVEL | ( | name, | |
level | |||
) |
#define GR_GET_LOGGER_NAMES | ( | names | ) |
#define GR_INFO | ( | name, | |
msg | |||
) |
#define GR_LOG_ADD_CONSOLE_APPENDER | ( | logger, | |
target, | |||
pattern | |||
) |
#define GR_LOG_ADD_FILE_APPENDER | ( | logger, | |
filename, | |||
append, | |||
pattern | |||
) |
#define GR_LOG_ADD_ROLLINGFILE_APPENDER | ( | logger, | |
filename, | |||
filesize, | |||
bkup_index, | |||
append, | |||
mode, | |||
pattern | |||
) |
#define GR_LOG_ALERT | ( | logger, | |
msg | |||
) |
#define GR_LOG_ASSERT | ( | logger, | |
cond, | |||
msg | |||
) |
#define GR_LOG_ASSIGN_LOGPTR | ( | logger, | |
name | |||
) |
#define GR_LOG_CRIT | ( | logger, | |
msg | |||
) |
#define GR_LOG_DEBUG | ( | logger, | |
msg | |||
) |
#define GR_LOG_DECLARE_LOGPTR | ( | logger | ) |
#define GR_LOG_EMERG | ( | logger, | |
msg | |||
) |
#define GR_LOG_ERROR | ( | logger, | |
msg | |||
) |
#define GR_LOG_ERRORIF | ( | logger, | |
cond, | |||
msg | |||
) |
#define GR_LOG_FATAL | ( | logger, | |
msg | |||
) |
#define GR_LOG_GET_LEVEL | ( | logger, | |
level | |||
) |
#define GR_LOG_GETLOGGER | ( | logger, | |
name | |||
) |
#define GR_LOG_INFO | ( | logger, | |
msg | |||
) |
#define GR_LOG_NOTICE | ( | logger, | |
msg | |||
) |
#define GR_LOG_SET_LEVEL | ( | logger, | |
level | |||
) |
#define GR_LOG_WARN | ( | logger, | |
msg | |||
) |
#define GR_NOTICE | ( | name, | |
msg | |||
) |
#define GR_RESET_CONFIGURATION | ( | ) |
#define GR_SET_LEVEL | ( | name, | |
level | |||
) |
#define GR_WARN | ( | name, | |
msg | |||
) |
typedef void* gr_logger_ptr |