Fix logging macOS process to remove redundant newlines

This commit is contained in:
Wojtek Figat
2023-09-20 09:06:54 +02:00
parent 038c67c819
commit e3cf9c05e4
2 changed files with 13 additions and 10 deletions

View File

@@ -223,10 +223,10 @@ void Log::Logger::ProcessLogMessage(LogType type, const StringView& msg, fmt_fla
else
{
//w.append(msg.Get(), msg.Get() + msg.Length());
fmt_flax::format(w, TEXT("{}"), (const Char*)msg.Get());
fmt_flax::format(w, TEXT("{}"), msg);
}
#else
fmt_flax::format(w, TEXT("{}"), (const Char*)msg.Get());
fmt_flax::format(w, TEXT("{}"), msg);
#endif
}