Classes | Functions | Variables
ros::console::impl Namespace Reference

Classes

class  Log4cxxAppender
 
class  ROSConsoleStdioAppender
 

Functions

ROSCONSOLE_CONSOLE_IMPL_DECL void deregister_appender (LogAppender *appender)
 
ROSCONSOLE_CONSOLE_IMPL_DECL bool get_loggers (std::map< std::string, levels::Level > &loggers)
 
ROSCONSOLE_CONSOLE_IMPL_DECL void * getHandle (const std::string &name)
 
ROSCONSOLE_CONSOLE_IMPL_DECL std::string getName (void *handle)
 
ROSCONSOLE_CONSOLE_IMPL_DECL void initialize ()
 
ROSCONSOLE_CONSOLE_IMPL_DECL bool isEnabledFor (void *handle, ::ros::console::Level level)
 
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 register_appender (LogAppender *appender)
 
ROSCONSOLE_CONSOLE_IMPL_DECL bool set_logger_level (const std::string &name, levels::Level level)
 
ROSCONSOLE_CONSOLE_IMPL_DECL void shutdown ()
 

Variables

log4cxx::LevelPtr g_level_lookup [levels::Count]
 
Log4cxxAppenderg_log4cxx_appender = 0
 
LogAppenderrosconsole_glog_appender = 0
 
std::vector< std::pair< std::string, levels::Level > > rosconsole_glog_log_levels
 
LogAppenderrosconsole_print_appender = 0
 

Function Documentation

◆ deregister_appender()

void ros::console::impl::deregister_appender ( LogAppender appender)

Definition at line 99 of file rosconsole_glog.cpp.

◆ get_loggers()

bool ros::console::impl::get_loggers ( std::map< std::string, levels::Level > &  loggers)

Definition at line 110 of file rosconsole_glog.cpp.

◆ getHandle()

void * ros::console::impl::getHandle ( const std::string &  name)

Definition at line 69 of file rosconsole_glog.cpp.

◆ getName()

std::string ros::console::impl::getName ( void *  handle)

Definition at line 84 of file rosconsole_glog.cpp.

◆ initialize()

void ros::console::impl::initialize ( )

Definition at line 17 of file rosconsole_glog.cpp.

◆ isEnabledFor()

bool ros::console::impl::isEnabledFor ( void *  handle,
::ros::console::Level  level 
)

Definition at line 59 of file rosconsole_glog.cpp.

◆ print()

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.

◆ register_appender()

void ros::console::impl::register_appender ( LogAppender appender)

Definition at line 94 of file rosconsole_glog.cpp.

◆ set_logger_level()

bool ros::console::impl::set_logger_level ( const std::string &  name,
levels::Level  level 
)

Definition at line 119 of file rosconsole_glog.cpp.

◆ shutdown()

void ros::console::impl::shutdown ( )

Definition at line 107 of file rosconsole_glog.cpp.

Variable Documentation

◆ g_level_lookup

log4cxx::LevelPtr ros::console::impl::g_level_lookup[levels::Count]
Initial value:
=
{
log4cxx::Level::getDebug(),
log4cxx::Level::getInfo(),
log4cxx::Level::getWarn(),
log4cxx::Level::getError(),
log4cxx::Level::getFatal(),
}

Definition at line 69 of file rosconsole_log4cxx.cpp.

◆ g_log4cxx_appender

Log4cxxAppender* ros::console::impl::g_log4cxx_appender = 0

Definition at line 355 of file rosconsole_log4cxx.cpp.

◆ rosconsole_glog_appender

LogAppender* ros::console::impl::rosconsole_glog_appender = 0

Definition at line 15 of file rosconsole_glog.cpp.

◆ rosconsole_glog_log_levels

std::vector<std::pair<std::string, levels::Level> > ros::console::impl::rosconsole_glog_log_levels

Definition at line 14 of file rosconsole_glog.cpp.

◆ rosconsole_print_appender

LogAppender* ros::console::impl::rosconsole_print_appender = 0

Definition at line 41 of file rosconsole_print.cpp.



rosconsole
Author(s): Josh Faust
autogenerated on Mon Feb 28 2022 23:30:41