hpp-util 6.0.0
Debugging tools for the HPP project.
Loading...
Searching...
No Matches
debug.cc File Reference
#include "hpp/util/debug.hh"
#include <boost/filesystem.hpp>
#include <chrono>
#include <cstdlib>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include "config.h"
#include "hpp/util/indent.hh"
Include dependency graph for debug.cc:

Namespaces

namespace  hpp
 
namespace  hpp::debug
 

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.
 
HPP_UTIL_DLLAPI int hpp::debug::getVerbosityLevel ()
 Get the verbosity level.
 
HPP_UTIL_DLLAPI void hpp::debug::setVerbosityLevel (int level)
 Set the verbosity level.
 
HPP_UTIL_DLLAPI bool hpp::debug::isBenchmarkEnabled ()
 
HPP_UTIL_DLLAPI void hpp::debug::enableBenchmark (bool enable)
 

Variables

HPP_UTIL_DLLAPI SetVerbosityLevelFromEnvVar hpp::debug::setVerbosityLevelFromEnvVar