44 void print(
void* handle, ::
ros::console::Level level,
const char* str,
const char* file,
const char*
function,
int line)
47 if(rosconsole_print_appender)
49 rosconsole_print_appender->
log(level, str, file,
function, line);
63 std::string
getName(
void* handle)
70 rosconsole_print_appender = appender;
76 bool get_loggers(std::map<std::string, levels::Level>& loggers)
void print(void *handle,::ros::console::Level level, const char *str, const char *file, const char *function, int line)
std::string getName(void *handle)
void register_appender(LogAppender *appender)
bool get_loggers(std::map< std::string, levels::Level > &loggers)
LogAppender * rosconsole_print_appender
bool set_logger_level(const std::string &name, levels::Level level)
bool isEnabledFor(void *handle,::ros::console::Level level)
void * getHandle(const std::string &name)
void print(ros::console::Level level, const std::string &s)
virtual void log(::ros::console::Level level, const char *str, const char *file, const char *function, int line)=0