Logging functions.
More...
◆ format()
template<typename... Args>
Recursion base case, return string form of formatted arguments.
- Template Parameters
-
Definition at line 60 of file log.h.
std::string format(const std::string &fmt, Args &&... args)
Recursion base case, return string form of formatted arguments.
std::string formatRecurse(boost::format &f, T &&t, Args &&... args)
Recursion base case, return string form of formatted arguments.
◆ formatRecurse() [1/2]
std::string robowflex::log::formatRecurse |
( |
boost::format & |
f | ) |
|
Recursion base case, return string form of formatted arguments.
- Parameters
-
- Returns
- String of formatted arguments.
Definition at line 16 of file log.cpp.
◆ formatRecurse() [2/2]
template<class T , class... Args>
std::string robowflex::log::formatRecurse |
( |
boost::format & |
f, |
|
|
T && |
t, |
|
|
Args &&... |
args |
|
) |
| |
Recursion base case, return string form of formatted arguments.
- Template Parameters
-
Definition at line 48 of file log.h.
50 return formatRecurse(f % std::forward<T>(t), std::forward<Args>(args)...);
◆ showUpToDebug()
void robowflex::log::showUpToDebug |
( |
| ) |
|
Show all logging messages debug and above.
Definition at line 41 of file log.cpp.
43 setLoggerLevel(ros::console::levels::Debug);
◆ showUpToError()
void robowflex::log::showUpToError |
( |
| ) |
|
Show all logging messages error and above.
Definition at line 26 of file log.cpp.
28 setLoggerLevel(ros::console::levels::Error);
◆ showUpToFatal()
void robowflex::log::showUpToFatal |
( |
| ) |
|
Show all logging messages fatal and above.
Definition at line 21 of file log.cpp.
23 setLoggerLevel(ros::console::levels::Fatal);
◆ showUpToInfo()
void robowflex::log::showUpToInfo |
( |
| ) |
|
Show all logging messages info and above.
Definition at line 36 of file log.cpp.
38 setLoggerLevel(ros::console::levels::Info);
◆ showUpToWarning()
void robowflex::log::showUpToWarning |
( |
| ) |
|
Show all logging messages warning and above.
Definition at line 31 of file log.cpp.
33 setLoggerLevel(ros::console::levels::Warn);