|
Claw 1.7.0
|
A log stream that does not output successively the same message. More...
#include <log_stream_uniq.hpp>
Public Member Functions | |
| log_stream_uniq (log_stream *s) | |
| Constructor. | |
| virtual | ~log_stream_uniq () |
| Destructor. | |
| virtual void | write (const std::string &str) |
| Write a string in the stream. | |
| virtual void | flush () |
| Flush the stream. | |
A log stream that does not output successively the same message.
Definition at line 58 of file log_stream_uniq.hpp.
| claw::log_stream_uniq::log_stream_uniq | ( | log_stream * | s | ) | [explicit] |
Constructor.
| s | The stream in which the messages are finally written. It will be deleted in the destructor. |
Definition at line 42 of file log_stream_uniq.cpp.
| void claw::log_stream_uniq::write | ( | const std::string & | str | ) | [virtual] |
Write a string in the stream.
| str | The sring to write. |
Implements claw::log_stream.
Definition at line 62 of file log_stream_uniq.cpp.
1.7.4