Boost logo

Boost :

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


Yeah, that was the first thing I tried, but could not compile it, did
that work in your site?

error: expected ‘}’ before ‘::’ token
 #define INFO boost::log::trivial::info

error: ‘::log’ is not a class, namespace, or enumeration
 #define INFO boost::log::trivial::info

On 1/18/19, Gavin Lambert via Boost <boost_at_[hidden]> wrote:
> On 18/01/2019 12:39, hh h wrote:
>> Thanks, but let me tell you why I tried so hard to get LOG(INFO)
>> working, we used google log before, there are thousands and thousands
>> code lines are using LOG(ERROR), LOG(INFO), it is impossible to change
>> every line of LOG statement to use different LOG name and format. I am
>> keen to use boost log, I have been trying it for weeks, haven't got it
>> work yet, but I don't want to give up until I exhausted all my
>> avenues. Hope I can get there, but hey, thanks your guys for wonderful
>> supports.
>
> Replace In Files is a thing that exists.
>
> Or #define INFO boost::log::trivial::info
>
> _______________________________________________
> 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