Helper functions used by FOutputDevice derived classes 更多...
#include <OutputDeviceHelper.h>
静态 Public 成员函数 | |
| static void | FormatCastAndSerializeLine (class FArchive &Output, const TCHAR *Message, ELogVerbosity::Type Verbosity, const class FName &Category, const double Time, bool bSuppressEventTag, bool bAutoEmitLineTerminator) |
| Formats, casts to ANSI char and serializes a message to archive. 更多... | |
| static FString | FormatLogLine (ELogVerbosity::Type Verbosity, const class FName &Category, const TCHAR *Message=nullptr, ELogTimes::Type LogTime=ELogTimes::None, const double Time=-1.0) |
| Formats a log line with date, time, category and verbosity prefix 更多... | |
| static const TCHAR * | VerbosityToString (ELogVerbosity::Type Verbosity) |
| Converts verbosity to a string 更多... | |
Helper functions used by FOutputDevice derived classes
|
static |
Formats, casts to ANSI char and serializes a message to archive.
Optimized for small number of allocations and Serialize calls
| 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 |
|
static |
Formats a log line with date, time, category and verbosity prefix
| 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 |
|
static |
Converts verbosity to a string
| Verbosity | verbosity enum |