16 # include <spdlog/logger.h> 17 # include <spdlog/fmt/ostr.h> 25 template<
typename... Args >
26 void debug(
const char *format,
const Args &... args )
28 logger().debug( format, args ... );
32 template<
typename... Args >
33 void info(
const char *format,
const Args &... args )
35 logger().info( format, args ... );
39 template<
typename... Args >
40 void warn(
const char *format,
const Args &... args )
42 logger().warn( format, args ... );
49 template<
typename... Args >
50 void error(
const char *format,
const Args &... args )
52 logger().error( format, args ... );
57 template<
typename... Args >
58 void critical(
const char *filename,
int line,
const char *
function,
const char *format,
const Args &... args )
64 # define RUMBA_LOG_CRITICAL( ... ) ::maquina::critical( __FILE__, __LINE__, SPDLOG_FUNCTION, __VA_ARGS__ )
void info(const char *format, const Args &... args)
Log an informative message using the Rumba logger.
Definition: Logger.h:33
void error(const char *format, const Args &... args)
Log an error message using the Rumba logger.
Definition: Logger.h:50
void debug(const char *format, const Args &... args)
Log a debug message using the Rumba logger.
Definition: Logger.h:26
void critical(const char *filename, int line, const char *function, const char *format, const Args &... args)
Log a critical error message using the Rumba logger.
Definition: Logger.h:58
This version of the SDK is unstable, i-e, it may change with no warning.
Definition: AddCurveAction.h:20
#define MAQUINA_EXPORT
Definition: Export.h:31
void warn(const char *format, const Args &... args)
Log a warning message using the Rumba logger.
Definition: Logger.h:40
spdlog::level::level_enum verbosity_level
Definition: Logger.h:45