FScopedLog::FScopedLog

Constructor used for setting up the type of logging that is done.

Windows
MacOS
Linux

References

Module

NetcodeUnitTest

Header

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTUtilDebug.h

Include

#include "NUTUtilDebug.h"

Syntax

FScopedLog
(
    const TArray< FString > & InLogCategories,
    UClientUnitTest * InUnitTest,
    bool bInRemoteLogging
)

Remarks

Constructor used for setting up the type of logging that is done.

Parameters

Parameter

Description

InLogCategories

The list of log categories to be enabled

InUnitTest

When tracking netcode-related logs, or doing remote logging, specify the client unit test here

bInRemoteLogging

Whether or not to enable logging on the remote server

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss