Navigation
API > API/Developer > API/Developer/FunctionalTesting > API/Developer/FunctionalTesting/UAutomationBlueprintFunctionLibr-
Description
Expect a specific log message to match a pattern during an automated test regardless of its verbosity. Treat the pattern as regex by default.
| Name | AddExpectedLogMessage |
| Type | function |
| Header File | /Engine/Source/Developer/FunctionalTesting/Public/AutomationBlueprintFunctionLibrary.h |
| Include Path | #include "AutomationBlueprintFunctionLibrary.h" |
| Source | /Engine/Source/Developer/FunctionalTesting/Private/AutomationBlueprintFunctionLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Automation",
Meta=(AdvancedDisplay="Occurrences, ExactMatch, IsRegex"))
static void AddExpectedLogMessage
(
FString ExpectedPatternString,
int32 Occurrences,
bool ExactMatch,
bool IsRegex
)