ug4
debug_print.h File Reference
#include <string>
#include <sstream>
#include "error.h"

Go to the source code of this file.

Namespaces

 ug
 the ug namespace
 

Macros

#define PRINT_VECTOR(v, msg)   {std::stringstream ss; ss << msg; PrintVector(v, ss.str()); }
 
#define UG_LINE_LOG()   UG_LOG("\n-------LINE " << __FILE__ << ":" << __LINE__ << " (" << __PRETTY_FUNCTION__ << ") -----------\n");
 

Functions

template<typename T >
void ug::PrintVector (const T &v, std::string desc="")
 

Macro Definition Documentation

◆ PRINT_VECTOR

#define PRINT_VECTOR (   v,
  msg 
)    {std::stringstream ss; ss << msg; PrintVector(v, ss.str()); }

◆ UG_LINE_LOG

#define UG_LINE_LOG ( )    UG_LOG("\n-------LINE " << __FILE__ << ":" << __LINE__ << " (" << __PRETTY_FUNCTION__ << ") -----------\n");