First up, I like the simplicity of this.
I'm on windows, but I always try to avoid using wchar_t or wstring etc.
There is the PLOG_ENABLE_WCHAR_INPUT flag, but setting it to 0 does nothing but prevent direct use of L"Hello"
internally you still use std::wstring and std::wostringstream (as far as I understand)
I'm worried about the conversions that silently happen - they are just not necessary
Maybe you assume that's what windows users want, but it's not always the case.
First up, I like the simplicity of this.
I'm on windows, but I always try to avoid using
wchar_torwstringetc.There is the PLOG_ENABLE_WCHAR_INPUT flag, but setting it to 0 does nothing but prevent direct use of
L"Hello"internally you still use
std::wstringandstd::wostringstream(as far as I understand)I'm worried about the conversions that silently happen - they are just not necessary
Maybe you assume that's what windows users want, but it's not always the case.