[Log] Get the streams in a text_ostream_backend derived class
Hello,
I have
class StreamBackend : public boost::log::sinks::text_ostream_backend
and manually instantiate the backend and add a stream
boost::shared_ptr<StreamBackend> backend =
boost::make_shared<StreamBackend>();
backend->add_stream(boost::shared_ptrstd::ostream(new
std::ofstream(some file name)));
using sink_t = boost::log::sinks::synchronous_sink<StreamBackend>;
boost::shared_ptr
participants (1)
-
Florian Lindner