Navigation
API > API/Plugins > API/Plugins/PCG
Collections per-node graph execution warnings and errors.
| Name | FPCGNodeVisualLogs |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Utils/PCGNodeVisualLogs.h |
| Include Path | #include "Utils/PCGNodeVisualLogs.h" |
Syntax
class FPCGNodeVisualLogs
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LogsLock | FRWLock | Utils/PCGNodeVisualLogs.h | ||
| StackToLogs | TMap< FPCGStack, FPCGPerNodeVisualLogs > | Utils/PCGNodeVisualLogs.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Clear all errors and warnings that occurred while executing stacks beginning with the given stack. | Utils/PCGNodeVisualLogs.h | ||
void ClearLogs
(
const IPCGGraphExecutionSource* InSource |
Clear all errors and warnings corresponding to the given execution source. | Utils/PCGNodeVisualLogs.h | |
void ForAllMatchingLogs
(
const FPCGStack& InPCGStack, |
Calls a function for all stacks that match in the logs or until the function returns false. | Utils/PCGNodeVisualLogs.h | |
| Returns all logs from a given stack | Utils/PCGNodeVisualLogs.h | ||
void GetLogs
(
const UPCGNode* InNode, |
Utils/PCGNodeVisualLogs.h | ||
void GetLogsAndSources
(
const UPCGNode* InNode, |
Returns all logs for a given node | Utils/PCGNodeVisualLogs.h | |
FText GetLogsSummaryText
(
const FPCGStack& InBaseStack, |
Summary text of all visual logs produced while executing the provided base stack, appropriate for display in graph editor tooltip. | Utils/PCGNodeVisualLogs.h | |
FText GetLogsSummaryText
(
const UPCGNode* InNode, |
Returns summary text of visual logs from recent execution, appropriate for display in graph editor tooltip. | Utils/PCGNodeVisualLogs.h | |
| Returns true if any issues were logged during last execution. | Utils/PCGNodeVisualLogs.h | ||
bool HasLogs
(
const FPCGStack& InPCGStack, |
Returns true if an issue with given severity was logged during last execution, and writes the minimum encountered verbosity to OutMinVerbosity. | Utils/PCGNodeVisualLogs.h | |
bool HasLogsOfVerbosity
(
const FPCGStack& InPCGStack, |
Returns true if an issue with given severity was logged during last execution. | Utils/PCGNodeVisualLogs.h | |
void Log
(
const FPCGStack& InPCGStack, |
Log warnings and errors to be displayed on node in graph editor. | Utils/PCGNodeVisualLogs.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FText GetSummaryText
(
const FPCGPerNodeVisualLogs& InLogs, |
Utils/PCGNodeVisualLogs.h | ||
static FText GetSummaryTextWithSources
(
const FPCGPerNodeVisualLogs& InLogs, |
Generates summary text from log list, with optional source pointers to show actor label. | Utils/PCGNodeVisualLogs.h |