.msg() returns the stream itself.
More...
Public Member Functions | |
stream_type & | msg () |
.msg() returns the stream itself.
Note that this is a very simple class - meant only as an example.
A class that implements gathering the message needs 2 things:
.out()
.msg()
that will return the gathered data (once all data has been gathered).See also:
stream_type& boost::logging::gather::ostream_like::return_raw_stream< stream_type >::msg | ( | ) | [inline] |
note: we return the whole stream - we don't return out().str() , because the user might use a better ostream class, which could have better access to its buffer/internals