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,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.
-- http://John.Torjo.com -- C++ expert http://blog.torjo.com ... call me only if you want things done right