Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UKismetSystemLibrary
Description
Prints a string to the log If Print To Log is true, it will be visible in the Output Log window. Otherwise it will be logged only as 'Verbose', so it generally won't show up.
| Name | LogString |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetSystemLibrary.h |
| Include Path | #include "Kismet/KismetSystemLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Private/KismetSystemLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Utilities|String",
Meta=(BlueprintThreadSafe, Keywords="log print", DevelopmentOnly))
static void LogString
(
const FString & InString,
bool bPrintToLog
)
Parameters
| Name | Remarks |
|---|---|
| InString | The string to log out |
| bPrintToLog | Whether or not to print the output to the log |