logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob L. Anawalt" <janaw...@geckosoftware.com>
Subject Re: Major problem with wide vs. normal strings in log messages
Date Thu, 22 May 2008 23:55:20 GMT
Dale King wrote:
> Most of the << operators in the MessageBuffer class return either
> CharMessageBuffer & or std::ostream &. I think all of these should
> probably be returning MessageBuffer which would allow it to switch to
> a WideMessageBuffer if I ever add a wide string, not just if the first
> string is wide.

But is it the right thing to do? I get the same error if I write a wide string 
to std::cout via <<.

This seems to keep going down the path of automagically 'just working' so 
perhaps it is.

Jacob Anawalt
Gecko Software, Inc.

View raw message