debug.hh File Reference
#include <cstdlib>
#include <ostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <hpp/util/config.hh>
#include <hpp/util/indent.hh>
Include dependency graph for debug.hh:
This graph shows which files directly or indirectly include this file:

Classes

class  hpp::debug::Output
 Debugging output. More...
 
class  hpp::debug::Channel
 Receive debugging information. More...
 
class  hpp::debug::JournalOutput
 Logging in journal file in the logging directory. More...
 
class  hpp::debug::ConsoleOutput
 Logging in console (std::cerr). More...
 
class  hpp::debug::Logging
 Logging class owns all channels and outputs. More...
 

Namespaces

 hpp
 
 hpp::debug
 

Macros

#define hppDebug(statement)
 
#define hppDebugStatement(statement)
 
#define hppDout(channel, data)
 
#define hppDoutFatal(channel, data)
 

Functions

HPP_UTIL_DLLAPI std::string hpp::debug::getPrefix (const std::string &packageName)
 Compute the logging prefix. More...
 
HPP_UTIL_DLLAPI std::string hpp::debug::getFilename (const std::string &filename, const std::string &packageName)
 Compute the path of a file in the logging prefix. More...
 

Variables

HPP_UTIL_DLLAPI Logging hpp::debug::logging
 Benchmark information. More...
 

Macro Definition Documentation

◆ hppDebug

#define hppDebug (   statement)
Value:
do { \
} while (0)

◆ hppDebugStatement

#define hppDebugStatement (   statement)

◆ hppDout

◆ hppDoutFatal

#define hppDoutFatal (   channel,
  data 
)
Value:
do { \
using namespace hpp; \
::std::cerr << data << iendl; \
::std::exit (EXIT_FAILURE); \
} while (1)
HPP_UTIL_DLLAPI std::ostream & iendl(std::ostream &o)
Print an end of line, then set the indentation.
Definition: indent.cc:52
Definition: assertion.hh:24