18 Jan
2019
18 Jan
'19
9:28 p.m.
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.