BEEP-8 Helper Lib 1.0.0
Loading...
Searching...
No Matches
trace.h
Go to the documentation of this file.
1
26#pragma once
27
28#include <tostr.h>
29
36#define PASS() printf( "[PASS] %s(%d) %s()\n",__FILE__,__LINE__, __func__ );
37
47#define TRACE(x) printf( "[TRACE] %s(%d) %s() %s\n",__FILE__,__LINE__, __func__ , tostr((x)).c_str() );
48
58#define WATCH(x) printf( "[WATCH] %s(%d) %s() %s = %s\n",__FILE__,__LINE__, __func__ ,#x, tostr((x)).c_str() );
Utility functions for converting various data types to std::string.