RTXI  3.0.0
The Real-Time eXperiment Interface Reference Manual
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.


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

Function Documentation


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

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

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

Definition at line 36 of file debug.hpp.