In a Windows environment, LPCWSTR is used very often which can be cast to a std::wstring.
Although the variadic versions of the LogX is most often used, in case someone wants to just log a wstring, they would have to do something like this:
std::wstring myString = L"Some text";
Logger::LogInfo("%ls", myString);
In a Windows environment, LPCWSTR is used very often which can be cast to a std::wstring.
Although the variadic versions of the LogX is most often used, in case someone wants to just log a wstring, they would have to do something like this: