logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "peter.doornbosch" <peter.doornbo...@gmail.com>
Subject Re: Link error when using Layout on MS Windows
Date Wed, 10 Dec 2008 17:20:42 GMT
Hi,

> Anytime an argument takes a LogString or a logchar*, you should use  
> LOG4CXX_STR() in the same manner you'd use _T() for TCHAR*.


That's valueable information.
Now that i know it, i see that it is mentioned in the FAQ. However, i  
didn't spot it there. I suggest the following question being added to  
the faq list:

Q: How can i convert a character literal into a LogString?
A: Use the LOG4CXX_STR() macro.

Regards
Peter


Mime
View raw message