Boost logo

Boost :

Subject: Re: [boost] Boost log issues and workarounds
From: hh h (jupiter.hce_at_[hidden])
Date: 2019-01-18 21:16:37


> 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);

OR

boost::log::trivial::severity.or_default(ServerityLevel_t::ERROR);

What I could be missing?

Thank you very much.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk