|
Boost : |
Subject: Re: [boost] Boost log issues and workarounds
From: hh h (jupiter.hce_at_[hidden])
Date: 2019-01-18 22:21:58
Excellent, all done. Thank you so much Andrey, you rock.
On 1/19/19, Andrey Semashev via Boost <boost_at_[hidden]> wrote:
> On 1/19/19 12:16 AM, hh h wrote:
>>> custom keywords should be defined and used.
>>
>> Thanks Andrey, that fixed the problem.
>>
>> The last issue is to set log level, I tried following statements, neither
>> works:
>>
>> auto filter = boost::log::filter(boost::log::trivial::severity >=
>> ServerityLevel_t::ERROR);
>> boost::log::core::get()->set_filter(filter);
>
> Same as with formatters, you need to use your custom keyword in the
> filter expression.
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk