UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
OutputDeviceHelper.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreTypes.h"
8#include "Misc/OutputDevice.h"
9
10class FArchive;
11class FName;
12class FString;
13
16{
18 static CORE_API void AppendFormatLogLine(FWideStringBuilderBase& Output, ELogVerbosity::Type Verbosity, const FName& Category, const TCHAR* Message = nullptr, ELogTimes::Type LogTime = ELogTimes::None, double Time = -1.0, int32* OutCategoryIndex = nullptr);
19 static CORE_API void AppendFormatLogLine(FUtf8StringBuilderBase& Output, ELogVerbosity::Type Verbosity, const FName& Category, const TCHAR* Message = nullptr, ELogTimes::Type LogTime = ELogTimes::None, double Time = -1.0, int32* OutCategoryIndex = nullptr);
20
31 static CORE_API FString FormatLogLine(ELogVerbosity::Type Verbosity, const FName& Category, const TCHAR* Message = nullptr, ELogTimes::Type LogTime = ELogTimes::None, double Time = -1.0, int32* OutCategoryIndex = nullptr);
32
43 static CORE_API void FormatCastAndSerializeLine(FArchive& Output, const TCHAR* Message, ELogVerbosity::Type Verbosity, const FName& Category, double Time, bool bSuppressEventTag, bool bAutoEmitLineTerminator);
44};
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition Archive.h:1208
Definition NameTypes.h:617
Definition StringBuilder.h:79
Type
Definition OutputDevice.h:111
@ None
Definition OutputDevice.h:113
Type
Definition LogVerbosity.h:17
Definition OutputDeviceHelper.h:16
static CORE_API void FormatCastAndSerializeLine(FArchive &Output, const TCHAR *Message, ELogVerbosity::Type Verbosity, const FName &Category, double Time, bool bSuppressEventTag, bool bAutoEmitLineTerminator)
Definition OutputDeviceHelper.cpp:108
static CORE_API FString FormatLogLine(ELogVerbosity::Type Verbosity, const FName &Category, const TCHAR *Message=nullptr, ELogTimes::Type LogTime=ELogTimes::None, double Time=-1.0, int32 *OutCategoryIndex=nullptr)
Definition OutputDeviceHelper.cpp:95
static CORE_API void AppendFormatLogLine(FWideStringBuilderBase &Output, ELogVerbosity::Type Verbosity, const FName &Category, const TCHAR *Message=nullptr, ELogTimes::Type LogTime=ELogTimes::None, double Time=-1.0, int32 *OutCategoryIndex=nullptr)
Definition OutputDeviceHelper.cpp:10