fix WCHAR String cannot output

support & optimize for std::wstring std::string output log