engine
 
载入中...
搜索中...
未找到
静态 Public 成员函数 | 所有成员列表
FOutputDeviceHelper结构体 参考

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

成员函数说明

◆ FormatCastAndSerializeLine()

static void FOutputDeviceHelper::FormatCastAndSerializeLine ( class FArchive &  Output,
const TCHAR *  Message,
ELogVerbosity::Type  Verbosity,
const class FName &  Category,
const double  Time,
bool  bSuppressEventTag,
bool  bAutoEmitLineTerminator 
)
static

Formats, casts to ANSI char and serializes a message to archive.

Optimized for small number of allocations and Serialize calls

参数
OutputOutput archive
MessageLog message
VerbosityMessage verbosity
CategoryMessage category
TimeMessage time
bSuppressEventTagTrue if the message date/time prefix should be suppressed
bAutoEmitLineTerminatorTrue if the message should be automatically appended with a line terminator

◆ FormatLogLine()

static FString FOutputDeviceHelper::FormatLogLine ( ELogVerbosity::Type  Verbosity,
const class FName &  Category,
const TCHAR *  Message = nullptr,
ELogTimes::Type  LogTime = ELogTimes::None,
const double  Time = -1.0 
)
static

Formats a log line with date, time, category and verbosity prefix

参数
VerbosityMessage verbosity
CategoryMessage category
MessageOptional message text. If nullptr, only the date/time/category/verbosity prefix will be returned
LogTimeTime format
TimeTime in seconds
返回
Formatted log line

◆ VerbosityToString()

static const TCHAR * FOutputDeviceHelper::VerbosityToString ( ELogVerbosity::Type  Verbosity)
static

Converts verbosity to a string

参数
Verbosityverbosity enum
返回
String representation of the verbosity enum

该结构体的文档由以下文件生成: