You can create a custom sink backend easily enough in Boost.Log. I don't know if you can use it with BOOST_LOG_TRIVIAL, though.


On Sat, Feb 15, 2014 at 5:58 PM, Olivier Tournaire <olitour@gmail.com> wrote:
Hi all,

I would like to use boost::log within a Qt based application. For now, I simply want to redirect the output of BOOST_LOG_TRIVIAL(xxx) macro to a QTextEdit. What is the easiest way to do that?

Is there a way to get the logger output string?

Best regards

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users