/Engine/Source/Runtime/Core/Public/Misc/OutputDeviceHelper.h
Formats, casts to ANSI char and serializes a message to archive. Optimized for small number of allocations and Serialize calls
static void FormatCastAndSerializeLine ( [FArchive](API\Runtime\Core\Serialization\FArchive) & Output, const TCHAR * Message, [ELogVerbosity::Type](API\Runtime\Core\Logging\ELogVerbosity__Type) Verbosity, const [FName](API\Runtime\Core\UObject\FName) & Category, double Time, bool bSuppressEventTag, bool bAutoEmitLineTerminator )