trace.h File Reference
#include <iostream>
#include <string>
Go to the source code of this file.
Defines |
| #define | TRACE_S __PRETTY_FUNCTION__ << ": " << __FILE__ << "." << __LINE__ << std::endl |
| #define | TRACE std::cerr << __PRETTY_FUNCTION__ << ": " << __FILE__ << "." << __LINE__ << std::endl; |
| #define | TRACE_H std::cerr << __PRETTY_FUNCTION__ << ": " << __FILE__ << "." << __LINE__ << " " |
| #define | TRACE_THIS std::cerr << "this = " << static_cast<const void*>(this) << " @ " << TRACE_S ; |
| #define | FUNCTION_S std::string(__PRETTY_FUNCTION__) |
| #define | LOG log() << FUNCTION_S << ": " << __FILE__ << "." << __LINE__ |
Define Documentation
| #define TRACE_S __PRETTY_FUNCTION__ << ": " << __FILE__ << "." << __LINE__ << std::endl |
| #define TRACE std::cerr << __PRETTY_FUNCTION__ << ": " << __FILE__ << "." << __LINE__ << std::endl; |
| #define TRACE_H std::cerr << __PRETTY_FUNCTION__ << ": " << __FILE__ << "." << __LINE__ << " " |
| #define TRACE_THIS std::cerr << "this = " << static_cast<const void*>(this) << " @ " << TRACE_S ; |
| #define FUNCTION_S std::string(__PRETTY_FUNCTION__) |
| #define LOG log() << FUNCTION_S << ": " << __FILE__ << "." << __LINE__ |