RTXI  3.0.0
The Real-Time eXperiment Interface Reference Manual
Functions
debug.hpp File Reference
#include <iostream>
#include <string>
#include <fmt/core.h>
Include dependency graph for debug.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename... Args>
void ERROR_MSG (const std::string &errmsg, Args... args)
 

Function Documentation

◆ ERROR_MSG()

template<typename... Args>
void ERROR_MSG(const std::string & errmsg,
Args... args 
)

Prints a backtrace to standard error. Non-realtime usage only.

Parameters
errmsgA constant reference to string having fmt library formatting
argsAdditional formatting arguments compatible with fmt library

Definition at line 36 of file debug.hpp.