#define VP_DEBUG_MODE 2
#include <visp3/core/vpConfig.h>
#include <visp3/core/vpDebug.h>
int main()
{
#ifdef ENABLE_VISP_NAMESPACE
#endif
vpIN_FCT("main()");
std::cout << "Debug level 1 active: " << vpDEBUG_ENABLE(1) << std::endl;
std::cout << "Debug level 2 active: " << vpDEBUG_ENABLE(2) << std::endl;
std::cout << "Debug level 3 active: " << vpDEBUG_ENABLE(3) << std::endl;
vpTRACE("C-like trace");
vpTRACE(1, "C-like trace level 1");
vpERROR_TRACE("C-like error trace");
vpERROR_TRACE(1, "C-like error trace level 1");
vpDEBUG_TRACE("C-like debug trace");
vpDERROR_TRACE("C-like error trace");
vpDEBUG_TRACE(2,
"C-like debug trace level 2");
vpDERROR_TRACE(2,
"C-like error trace level 2");
vpCTRACE << "C++-like trace" << std::endl;
vpCERROR << "C++-like error trace" << std::endl;
vpCDEBUG(2) << "C++-like debug trace level 2" << std::endl;
vpOUT_FCT("main()");
}