我使用boost::log库的琐碎记录,我想执行取决于当前设置的记录严重性一些代码。只有在输出日志消息时才需要这样做。但我无法找到查询严重性的正确方法。该代码必须是这样的: if (boost::log::trivial::severity <=
boost::log::trivial::severity_level::trace)
{
// construct log me
我试图编译升压日志库,我不断从dump_avx2.cpp文件 error: always_inline function '_mm256_set1_epi32' requires target feature 'sse4.2', but would be inlined into function 'dump_data_avx2' that is compiled without support