15 template <
typename... Args>
16 FormatString
log(
int verbosity,
const std::string& tag,
const std::string& message, Args... args) {
17 return rb::logger.log(verbosity, tag, message, std::forward<Args>(args)...);
20 template <
typename... Args>
21 FormatString
logPanic(
const std::string& tag,
const std::string& message, Args... args) {
22 return rb::logger.logPanic(tag, message, std::forward<Args>(args)...);
25 template <
typename... Args>
26 FormatString
logError(
const std::string& tag,
const std::string& message, Args... args) {
27 return rb::logger.logError(tag, message, std::forward<Args>(args)...);
30 template <
typename... Args>
31 FormatString
logWarning(
const std::string& tag,
const std::string& message, Args... args) {
32 return rb::logger.logWarning(tag, message, std::forward<Args>(args)...);
35 template <
typename... Args>
36 FormatString
logInfo(
const std::string& tag,
const std::string& message, Args... args) {
37 return rb::logger.logInfo(tag, message, std::forward<Args>(args)...);
40 template <
typename... Args>
41 FormatString
logDebug(
const std::string& tag,
const std::string& message, Args... args) {
42 return rb::logger.logDebug(tag, message, std::forward<Args>(args)...);
The base namespace. Contains some logging functions, too.
Definition: half_duplex_uart.cpp:53
FormatString logPanic(const std::string &tag, const std::string &message, Args... args)
Definition: RBControl_logger.hpp:21
FormatString logInfo(const std::string &tag, const std::string &message, Args... args)
Definition: RBControl_logger.hpp:36
FormatString log(int verbosity, const std::string &tag, const std::string &message, Args... args)
Definition: RBControl_logger.hpp:16
Logger logger
Definition: RBControl_logger.cpp:5
FormatString logWarning(const std::string &tag, const std::string &message, Args... args)
Definition: RBControl_logger.hpp:31
FormatString logDebug(const std::string &tag, const std::string &message, Args... args)
Definition: RBControl_logger.hpp:41
FormatString logError(const std::string &tag, const std::string &message, Args... args)
Definition: RBControl_logger.hpp:26