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

Reply via email to