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

Helper class that uses thread local storage to set up the default category and verbosity for the low level logging functions. 更多...

#include <LogScopedCategoryAndVerbosityOverride.h>

类

struct  FOverride
 STructure to aggregate a category and verbosity pair 更多...
 

Public 成员函数

 FLogScopedCategoryAndVerbosityOverride (FName Category, ELogVerbosity::Type Verbosity)
 Back up the existing category and verbosity pair, then sets them.
 
 ~FLogScopedCategoryAndVerbosityOverride ()
 Restore the category and verbosity overrides to the previous value.
 

静态 Public 成员函数

static FOverride * GetTLSCurrent ()
 Manages a TLS slot with the current overrides for category and verbosity.
 

详细描述

Helper class that uses thread local storage to set up the default category and verbosity for the low level logging functions.

This is what allow a UE_LOG(LogHAL, Log, TEXT("...")); within a UE_LOG statement to know what the category and verbosity is. When one of these goes out of scope, it restores the previous values.


该类的文档由以下文件生成: