claw::console_logger Class Reference

This class write log messages in std::clog. More...

#include <log_stream.hpp>

Inheritance diagram for claw::console_logger:
claw::log_stream claw::concept::non_copyable

List of all members.

Public Member Functions

virtual void write (const std::string &str)
 Write a string in the stream.
virtual void flush ()
 Flush the stream.

Detailed Description

This class write log messages in std::clog.

Author:
Julien Jorge

Definition at line 67 of file log_stream.hpp.


Member Function Documentation

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

Flush the stream.

Reimplemented from claw::log_stream.

Definition at line 67 of file log_stream.cpp.

00068 {
00069   std::clog.flush();
00070 } // console_logger::flush()

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

Write a string in the stream.

Implements claw::log_stream.

Definition at line 58 of file log_stream.cpp.

00059 {
00060   std::clog << str;
00061 } // console_logger::write()


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

Generated on 9 Nov 2009 for CLAW Library (a C++ Library Absolutely Wonderful) by  doxygen 1.6.1