|
Boost Users : |
Subject: Re: [Boost-users] [log] Qt integration
From: Olivier Tournaire (olitour_at_[hidden])
Date: 2014-02-17 08:05:22
Thanks Lindley,
I am new to boost::log and, even after reading the doc, I am still
confused. Could you please help me to start?
I really do not understand how to glue a QTextEdit with a custom sink.
Regards
Le dimanche 16 février 2014, Lindley French <lindleyf_at_[hidden]> a écrit :
> 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_at_[hidden]<javascript:_e(%7B%7D,'cvml','olitour_at_[hidden]');>
> > 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_at_[hidden]<javascript:_e(%7B%7D,'cvml','Boost-users_at_[hidden]');>
>> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>>
>
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net