Base class for streams accepting log output. More...
#include <log_stream.hpp>
Public Member Functions | |
virtual | ~log_stream () |
Destructor. | |
virtual void | write (const std::string &str)=0 |
virtual void | flush () |
Flush the stream. |
Base class for streams accepting log output.
Definition at line 55 of file log_stream.hpp.
claw::log_stream::~log_stream | ( | ) | [virtual] |
Destructor.
Definition at line 37 of file log_stream.cpp.
void claw::log_stream::flush | ( | ) | [virtual] |
Flush the stream.
Reimplemented in claw::console_logger, and claw::file_logger.
Definition at line 46 of file log_stream.cpp.
virtual void claw::log_stream::write | ( | const std::string & | str | ) | [pure virtual] |
Implemented in claw::console_logger, and claw::file_logger.