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