Subject: Re: [boost] [log] Status (was: Is there any interest in a Group of library like to Application System!)
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2012-01-06 06:20:03
On Friday, January 06, 2012 21:40:34 Arash Partow wrote:
> Andrey Semashev wrote:
> It's not dangerous. The way I would do it is provide a macro for logging
> that appends a suffix to the passed string - perhaps "boost_logxx" etc, the
> operator itself can be in the boost::log namespace.
The way I understand it, the operator is found via ADL, so in case of string
literals it should be in global namespace. Also, the macro is not any better
than the generator function.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk