10 Jun
2008
10 Jun
'08
4:13 a.m.
Nat Goodspeed wrote:
Mojmir Svoboda wrote:
oh, you almost got me there.. i did not considered these << operators when designing. mainly because of their annoying syntax. i am simple man i prefer that one of printf :) (or boost::format)
Speaking only for myself -- I wouldn't use a logging library that didn't support << operators.
In my library's case, it's the user who decides what the logging syntax is. It can be << (default), or you can have your own syntax, like, a % b % c ,etc. Best, John -- http://John.Torjo.com -- C++ expert http://blog.torjo.com ... call me only if you want things done right