Go to the documentation of this file.
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;
This class (reps. its descendants) provides unified access to ROS logging functions,...
mutable ::std::list<::std::string > loggerNames
Cache of names of known loggers. Do not ever erase items.
void clear() const
Delete all messages logged so far.
void initializeLogLocationImpl(::ros::console::LogLocation *loc, const ::std::string &name, ::ros::console::Level level) const override
const ::std::list<::rosgraph_msgs::Log > & getMessages() const
Return all messages logged so far.
void logString(void *logger, ::ros::console::Level level, const std::string &str, const char *file, uint32_t line, const char *function) const override
mutable ::std::list<::rosgraph_msgs::Log > messages
The list of logged messages.
void initializeImpl() const override
Initialize the logger. It is not needed to check initialized as this function is only called when it ...
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 checkLogLocationEnabled(::ros::console::LogLocation *loc) const override
Check whether the log location is enabled.
cras_cpp_common
Author(s): Martin Pecka
autogenerated on Sat Dec 14 2024 03:51:04