
6 Jan
2012
6 Jan
'12
11:20 a.m.
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.