Files
UnrealEngine/Engine/Source/Developer/AutomationController/Private/AutomationControllerSettings.cpp
2025-05-18 13:04:45 +08:00

35 lines
1.0 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "AutomationControllerSettings.h"
#include UE_INLINE_GENERATED_CPP_BY_NAME(AutomationControllerSettings)
DEFINE_LOG_CATEGORY_STATIC(LogAutomationControllerSettings, Log, All)
UAutomationControllerSettings::UAutomationControllerSettings(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
, bSuppressLogErrors(false)
, bSuppressLogWarnings(false)
, bElevateLogWarningsToErrors(true)
, bKeepPIEOpen(false)
, bAutoExpandSingleItemSubgroups(true)
, bSortTestsByFailure(false)
, bPruneLogsOnSuccess(true)
, bTreatLogWarningsAsTestErrors(true)
, GameInstanceLostTimerSeconds(300.0f)
, bResetTelemetryStorageOnNewSession(false)
{
}
void UAutomationControllerSettings::PostInitProperties()
{
Super::PostInitProperties();
if (!bTreatLogWarningsAsTestErrors)
{
UE_LOG(LogAutomationControllerSettings, Warning, TEXT("UAutomationControllerSettings::bTreatLogWarningsAsTestErrors is deprecated. Use bElevateLogWarningsToErrors instead."));
bElevateLogWarningsToErrors = false;
}
}