Rumba C++ SDK
Logger.h File Reference
#include <spdlog/logger.h>
#include <spdlog/fmt/ostr.h>
#include "Export.h"

Go to the source code of this file.

Namespaces

 maquina
 This version of the SDK is unstable, i-e, it may change with no warning.
 

Macros

#define RUMBA_LOG_CRITICAL(...)   ::maquina::critical( __FILE__, __LINE__, SPDLOG_FUNCTION, __VA_ARGS__ )
 

Typedefs

using maquina::verbosity_level = spdlog::level::level_enum
 

Functions

template<typename... Args>
void maquina::debug (const char *format, const Args &... args)
 Log a debug message using the Rumba logger. More...
 
template<typename... Args>
void maquina::info (const char *format, const Args &... args)
 Log an informative message using the Rumba logger. More...
 
template<typename... Args>
void maquina::warn (const char *format, const Args &... args)
 Log a warning message using the Rumba logger. More...
 
template<typename... Args>
void maquina::error (const char *format, const Args &... args)
 Log an error message using the Rumba logger. More...
 
template<typename... Args>
void maquina::critical (const char *filename, int line, const char *function, const char *format, const Args &... args)
 Log a critical error message using the Rumba logger. More...
 

Macro Definition Documentation

◆ RUMBA_LOG_CRITICAL

#define RUMBA_LOG_CRITICAL (   ...)    ::maquina::critical( __FILE__, __LINE__, SPDLOG_FUNCTION, __VA_ARGS__ )