#include <OutputDeviceHelper.h>
|
static 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) |
|
static 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) |
|
static FString | FormatLogLine (ELogVerbosity::Type Verbosity, const FName &Category, const TCHAR *Message=nullptr, ELogTimes::Type LogTime=ELogTimes::None, double Time=-1.0, int32 *OutCategoryIndex=nullptr) |
|
static void | FormatCastAndSerializeLine (FArchive &Output, const TCHAR *Message, ELogVerbosity::Type Verbosity, const FName &Category, double Time, bool bSuppressEventTag, bool bAutoEmitLineTerminator) |
|
Helper functions used by FOutputDevice derived classes
Definition at line 19 of file OutputDeviceHelper.h.
◆ AppendFormatLogLine() [1/2]
◆ AppendFormatLogLine() [2/2]
Append a formatted log line to the string builder.
◆ FormatCastAndSerializeLine()
Formats, casts to ANSI char and serializes a message to archive. Optimized for small number of allocations and Serialize calls
- Parameters
-
Output | Output archive |
Message | Log message |
Verbosity | Message verbosity |
Category | Message category |
Time | Message time |
bSuppressEventTag | True if the message date/time prefix should be suppressed |
bAutoEmitLineTerminator | True if the message should be automatically appended with a line terminator |
◆ FormatLogLine()
Formats a log line with date, time, category and verbosity prefix
- Parameters
-
Verbosity | Message verbosity |
Category | Message category |
Message | Optional message text. If nullptr, only the date/time/category/verbosity prefix will be returned |
LogTime | Time format |
Time | Time in seconds |
OutCategoryIndex | (if non-null) The index of the category within the return string is written here, or INDEX_NONE if the category is suppressed |
- Returns
- Formatted log line
The documentation for this struct was generated from the following file:
- C:/Users/lachl/Downloads/ArkServerAPI_NEW/ASA/AsaApi/AsaApi/Core/Public/API/UE/Misc/OutputDeviceHelper.h