17 #include <rosgraph_msgs/Log.h> 40 const char*
function)
const override;
46 const ::std::list<::rosgraph_msgs::Log>&
getMessages()
const;
54 mutable ::std::list<::rosgraph_msgs::Log>
messages;
void clear() const
Delete all messages logged so far.
const ::std::list<::rosgraph_msgs::Log > & getMessages() const
Return all messages logged so far.
mutable ::std::list<::rosgraph_msgs::Log > messages
The list of logged messages.
void checkLogLocationEnabled(::ros::console::LogLocation *loc) const override
Check whether the log location is enabled.
void initializeImpl() const override
Initialize the logger. It is not needed to check initialized as this function is only called when it ...
void logString(void *logger, ::ros::console::Level level, const std::string &str, const char *file, uint32_t line, const char *function) const override
This class (reps. its descendants) provides unified access to ROS logging functions, be it ROS_* or NODELET_*.
void setLogLocationLevel(::ros::console::LogLocation *loc, ::ros::console::Level level) const override
Set level of a log location. This is only called when global logging level changes.
void initializeLogLocationImpl(::ros::console::LogLocation *loc, const ::std::string &name, ::ros::console::Level level) const override
mutable ::std::list<::std::string > loggerNames
Cache of names of known loggers. Do not ever erase items.