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

namespace  hpp
namespace  hpp::debug

Defines

#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.
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.

Variables

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

Define Documentation

#define hppDebug (   statement)
Value:
do {                                          \
  } while (0)
#define hppDebugStatement (   statement)
#define hppDoutFatal (   channel,
  data 
)
Value:
do {            \
    using namespace hpp;      \
    ::std::cerr << data << iendl;   \
    ::std::exit (EXIT_FAILURE);     \
  } while (1)