Public Member Functions

claw::log_stream Class Reference

Base class for streams accepting log output. More...

#include <log_stream.hpp>

Inheritance diagram for claw::log_stream:
claw::console_logger claw::file_logger

List of all members.

Public Member Functions

virtual ~log_stream ()
 Destructor.
virtual void write (const std::string &str)=0
virtual void flush ()
 Flush the stream.

Detailed Description

Base class for streams accepting log output.

Author:
Julien Jorge

Definition at line 55 of file log_stream.hpp.


Constructor & Destructor Documentation

claw::log_stream::~log_stream (  )  [virtual]

Destructor.

Definition at line 37 of file log_stream.cpp.

{
  // nothing to do
} // log_stream::~log_stream()


Member Function Documentation

void claw::log_stream::flush (  )  [virtual]

Flush the stream.

Definition at line 46 of file log_stream.cpp.

{
  // nothing to do
} // log_stream::flush()

virtual void claw::log_stream::write ( const std::string &  str  )  [pure virtual]

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