Logging in journal file in the logging directory. More...
#include <hpp/util/debug.hh>
Public Member Functions | |
JournalOutput (std::string filename) | |
~JournalOutput () | |
void | write (const Channel &channel, char const *file, int line, char const *function, const std::string &data) |
void | write (const Channel &channel, char const *file, int line, char const *function, const std::stringstream &data) |
std::string | getFilename () const |
Logging in journal file in the logging directory.
hpp::debug::JournalOutput::JournalOutput | ( | std::string | filename | ) | [explicit] |
hpp::debug::JournalOutput::~JournalOutput | ( | ) |
std::string hpp::debug::JournalOutput::getFilename | ( | ) | const |
References getpid().
void hpp::debug::JournalOutput::write | ( | const Channel & | channel, |
char const * | file, | ||
int | line, | ||
char const * | function, | ||
const std::string & | data | ||
) | [virtual] |
Implements hpp::debug::Output.
References hpp::decindent(), hpp::iendl(), hpp::incindent(), and hpp::debug::Output::writePrefix().
void hpp::debug::JournalOutput::write | ( | const Channel & | channel, |
char const * | file, | ||
int | line, | ||
char const * | function, | ||
const std::stringstream & | data | ||
) | [virtual] |
Implements hpp::debug::Output.
References hpp::decindent(), hpp::iendl(), hpp::incindent(), and hpp::debug::Output::writePrefix().