40 lines
1.1 KiB
C++
40 lines
1.1 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Engine/DeveloperSettings.h"
|
|
#include "Logging/LogVerbosity.h"
|
|
#include "RewindDebuggerVLogSettings.generated.h"
|
|
|
|
/**
|
|
* Settings for the Rewind Debugger Visual Logger integration.
|
|
*/
|
|
UCLASS(Config=EditorPerProjectUserSettings, meta=(DisplayName="Rewind Debugger - Visual Logging"))
|
|
class URewindDebuggerVLogSettings : public UDeveloperSettings
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
URewindDebuggerVLogSettings();
|
|
|
|
#if WITH_EDITOR
|
|
virtual FText GetSectionText() const override;
|
|
virtual FText GetSectionDescription() const override;
|
|
#endif
|
|
|
|
virtual FName GetCategoryName() const override;
|
|
void ToggleCategory(FName Category);
|
|
void SetMinVerbosity(ELogVerbosity::Type Value);
|
|
|
|
// Display Visual Logger shapes above this verbosity level
|
|
UPROPERTY(EditAnywhere, Config, Category = VisualLogger)
|
|
uint8 DisplayVerbosity = ELogVerbosity::Display;
|
|
|
|
// Display Visual Logger shapes in these categories
|
|
UPROPERTY(EditAnywhere, Config, Category = VisualLogger)
|
|
TSet<FName> DisplayCategories;
|
|
|
|
static URewindDebuggerVLogSettings & Get();
|
|
};
|