Boost logo

Boost Users :

Subject: [Boost-users] [Boost.Log] compiling issue of trivial example under boost version 1.5.4
From: Steven Sun (maths.sun_at_[hidden])
Date: 2013-07-30 15:18:27


Hi All -

I was trying to compile the boost log example code
under boost_1_54_0/libs/log/example/trivial/.
I basically want to have a simple logger with filter function. So the
example code serves the purpose.
I got the attached error message while trying to compile.

I think my compile command is fine because if I comment out the section of
" core::get()->set_filter

    (

        trivial::severity >= trivial::info

    ); "

it compiles and runs fine.

Can someone please provide some insight of how to make the severity filter
work?

Best,

-- 
Steven Sun
*********************************************************
Eco-Tips: Please consider the environment before printing this email!




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