|
Claw 1.7.0
|
A log stream that does not output a message that have been recently output. More...
#include <log_stream_concise.hpp>
Public Member Functions | |
| log_stream_concise (log_stream *s, std::size_t max_history_size=25) | |
| Constructor. | |
| virtual | ~log_stream_concise () |
| 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 a message that have been recently output.
Definition at line 61 of file log_stream_concise.hpp.
| claw::log_stream_concise::log_stream_concise | ( | log_stream * | s, |
| std::size_t | max_history_size = 25 |
||
| ) | [explicit] |
Constructor.
| s | The stream in which the messages are finally written. It will be deleted in the destructor. |
| max_history_size | The maximum number of lines in the history. |
Definition at line 42 of file log_stream_concise.cpp.
| void claw::log_stream_concise::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_concise.cpp.
1.7.4