Helper class that allows setting scoped verbosity for log category. 更多...
#include <LogScopedVerbosityOverride.h>
Public 成员函数 | |
| CORE_API | FLogScopedVerbosityOverride (FLogCategoryBase *Category, ELogVerbosity::Type Verbosity) |
| Back up the existing verbosity for the category then sets new verbosity. | |
| CORE_API | ~FLogScopedVerbosityOverride () |
| Restore the verbosity overrides for the category to the previous value. | |
Helper class that allows setting scoped verbosity for log category.
Saved what was previous verbosity for the category, and recovers it when it goes out of scope. Use Macro LOG_SCOPE_VERBOSITY_OVERRIDE for this