31 #define ROSCONSOLE_CONSOLE_IMPL_EXPORTS 46 void print(
void* handle, ::
ros::console::Level level,
const char* str,
const char* file,
const char*
function,
int line)
49 if(rosconsole_print_appender)
51 rosconsole_print_appender->
log(level, str, file,
function, line);
65 std::string
getName(
void* handle)
72 rosconsole_print_appender = appender;
76 if(rosconsole_print_appender == appender)
78 rosconsole_print_appender = 0;
85 bool get_loggers(std::map<std::string, levels::Level>& loggers)
ROSCONSOLE_CONSOLE_IMPL_DECL void print(void *handle, ::ros::console::Level level, const char *str, const char *file, const char *function, int line)
ROSCONSOLE_CONSOLE_IMPL_DECL void shutdown()
ROSCONSOLE_CONSOLE_IMPL_DECL std::string getName(void *handle)
ROSCONSOLE_CONSOLE_IMPL_DECL void register_appender(LogAppender *appender)
ROSCONSOLE_CONSOLE_IMPL_DECL void initialize()
ROSCONSOLE_CONSOLE_IMPL_DECL bool get_loggers(std::map< std::string, levels::Level > &loggers)
LogAppender * rosconsole_print_appender
ROSCONSOLE_CONSOLE_IMPL_DECL bool set_logger_level(const std::string &name, levels::Level level)
ROSCONSOLE_CONSOLE_IMPL_DECL bool isEnabledFor(void *handle, ::ros::console::Level level)
ROSCONSOLE_CONSOLE_IMPL_DECL void deregister_appender(LogAppender *appender)
ROSCONSOLE_CONSOLE_IMPL_DECL 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