|
Boost : |
From: John Torjo (john.lists_at_[hidden])
Date: 2005-12-23 18:10:56
> I for one agree with Richard that any macro interface to logging should work
> by surrounding the entire invocation in parens, not just the log object. It
> would remove the need for the enabled_logger class and the additional heap
> allocation of the stream.
>
Yes, you're right. If I can't eliminate the creation of the stream, I'll
prefer that.
But as Gennady said, I will make it possible for you to create your own
macros -- I'll just provide the means ;)
Best,
John
-- John Torjo, Contributing editor, C/C++ Users Journal -- "Win32 GUI Generics" -- generics & GUI do mix, after all -- http://www.torjo.com/win32gui/surfaces.html - Sky's the limit! -- http://www.torjo.com/cb/ - Click, Build, Run!
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk