Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FVisualLogger
Description
Executes the provided function using the last used entry for given UObject if any. Method provides validation for thread safe access when adding information to an existing LogEntry.
| Name | ExecuteOnLastEntryForObject |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/VisualLogger/VisualLogger.h |
| Include Path | #include "VisualLogger/VisualLogger.h" |
| Source | /Engine/Source/Runtime/Engine/Private/VisualLogger/VisualLogger.cpp |
bool ExecuteOnLastEntryForObject
(
const UObject * Object,
TFunctionRef < void &)> Function
)
Whether a LogEntry was found and the function was called
Parameters
| Name | Remarks |
|---|---|
| Object | The object to find a LogEntry for. |
| Function | Function to execute if a valid view can be created. |