hpp-util  4.9.0
Debugging tools for the HPP project.
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:

Go to the source code of 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)
 Enable statement when HPP_DEBUG is defined. More...
 
#define hppDebugStatement(statement)   statement
 Enable statement when HPP_DEBUG is defined. More...
 
#define hppDout(channel, data)
 Write data to channel when HPP_DEBUG is defined. More...
 
#define hppDoutFatal(channel, data)
 Write data to channel and exit the program. More...
 

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