Classes | |
class | Log4cxxAppender |
class | ROSConsoleStdioAppender |
Functions | |
bool | get_loggers (std::map< std::string, levels::Level > &loggers) |
void * | getHandle (const std::string &name) |
std::string | getName (void *handle) |
void | initialize () |
bool | isEnabledFor (void *handle,::ros::console::Level level) |
void | print (void *handle,::ros::console::Level level, const char *str, const char *file, const char *function, int line) |
void | register_appender (LogAppender *appender) |
bool | set_logger_level (const std::string &name, levels::Level level) |
void | shutdown () |
Variables | |
log4cxx::LevelPtr | g_level_lookup [levels::Count] |
Log4cxxAppender * | g_log4cxx_appender |
LogAppender * | rosconsole_glog_appender = 0 |
std::vector< std::pair < std::string, levels::Level > > | rosconsole_glog_log_levels |
LogAppender * | rosconsole_print_appender = 0 |
bool ros::console::impl::get_loggers | ( | std::map< std::string, levels::Level > & | loggers | ) |
Definition at line 103 of file rosconsole_glog.cpp.
void * ros::console::impl::getHandle | ( | const std::string & | name | ) |
Definition at line 69 of file rosconsole_glog.cpp.
std::string ros::console::impl::getName | ( | void * | handle | ) |
Definition at line 85 of file rosconsole_glog.cpp.
void ros::console::impl::initialize | ( | ) |
Definition at line 15 of file rosconsole_glog.cpp.
bool ros::console::impl::isEnabledFor | ( | void * | handle, |
::ros::console::Level | level | ||
) |
Definition at line 59 of file rosconsole_glog.cpp.
void ros::console::impl::print | ( | void * | handle, |
::ros::console::Level | level, | ||
const char * | str, | ||
const char * | file, | ||
const char * | function, | ||
int | line | ||
) |
Definition at line 22 of file rosconsole_glog.cpp.
void ros::console::impl::register_appender | ( | LogAppender * | appender | ) |
Definition at line 95 of file rosconsole_glog.cpp.
bool ros::console::impl::set_logger_level | ( | const std::string & | name, |
levels::Level | level | ||
) |
Definition at line 112 of file rosconsole_glog.cpp.
void ros::console::impl::shutdown | ( | ) |
Definition at line 100 of file rosconsole_glog.cpp.
log4cxx::LevelPtr ros::console::impl::g_level_lookup[levels::Count] |
{ log4cxx::Level::getDebug(), log4cxx::Level::getInfo(), log4cxx::Level::getWarn(), log4cxx::Level::getError(), log4cxx::Level::getFatal(), }
Definition at line 66 of file rosconsole_log4cxx.cpp.
Definition at line 346 of file rosconsole_log4cxx.cpp.
Definition at line 13 of file rosconsole_glog.cpp.
std::vector<std::pair<std::string, levels::Level> > ros::console::impl::rosconsole_glog_log_levels |
Definition at line 12 of file rosconsole_glog.cpp.
Definition at line 39 of file rosconsole_print.cpp.