hpp-util  4.9.0
Debugging tools for the HPP project.
hpp::debug::JournalOutput Class Reference

Logging in journal file in the logging directory. More...

#include <hpp/util/debug.hh>

Inheritance diagram for hpp::debug::JournalOutput:
Collaboration diagram for hpp::debug::JournalOutput:

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
 
- Public Member Functions inherited from hpp::debug::Output
 Output ()
 
virtual ~Output ()
 

Additional Inherited Members

- Protected Member Functions inherited from hpp::debug::Output
std::ostream & writePrefix (std::ostream &stream, const Channel &channel, char const *file, int line, char const *function)
 

Detailed Description

Logging in journal file in the logging directory.

Constructor & Destructor Documentation

◆ JournalOutput()

hpp::debug::JournalOutput::JournalOutput ( std::string  filename)
explicit

◆ ~JournalOutput()

hpp::debug::JournalOutput::~JournalOutput ( )

Member Function Documentation

◆ getFilename()

std::string hpp::debug::JournalOutput::getFilename ( ) const

◆ write() [1/2]

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.

◆ write() [2/2]

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.


The documentation for this class was generated from the following files: