Hey, I just noticed that CategoryStream is NOT a templated class..... It just uses ostringstream (or equivalent), and as a consequence can't handle wstring's at all. This is more than a little problematic for me. Thoughts on how to best address this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No, CategoryStream can't handle wstrings at all. But, then again, neither does any other component of log4cpp. What do you actually want to have in your logfile if you log wstrings? Unicoded log lines, converted log lines? If you want the first, a lot of changes to log4cpp will be necessary...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey, I just noticed that CategoryStream is NOT a templated class..... It just uses ostringstream (or equivalent), and as a consequence can't handle wstring's at all. This is more than a little problematic for me. Thoughts on how to best address this?
No, CategoryStream can't handle wstrings at all. But, then again, neither does any other component of log4cpp. What do you actually want to have in your logfile if you log wstrings? Unicoded log lines, converted log lines? If you want the first, a lot of changes to log4cpp will be necessary...