The tee_stream_t type provides a stream class that writes to multiple output buffers.
More...
|
void | add_buffer (std::string const &key, std::ostream &s, bool colorized=false) |
| Add a new buffer to the output.
|
|
void | disable_buffer (std::string const &key) |
| Disable an existing buffer.
|
|
void | enable_buffer (std::string const &key) |
| Enable an existing buffer.
|
|
The tee_stream_t type provides a stream class that writes to multiple output buffers.
◆ add_buffer()
void add_buffer |
( |
std::string const & | key, |
|
|
std::ostream & | s, |
|
|
bool | colorized = false ) |
Add a new buffer to the output.
◆ enable_buffer()
void enable_buffer |
( |
std::string const & | key | ) |
|
Enable an existing buffer.
- Parameters
-
key | The string identifier of the streambuf. |
◆ disable_buffer()
void disable_buffer |
( |
std::string const & | key | ) |
|
Disable an existing buffer.
- Parameters
-
key | The string identifier of the streambuf. |